From: Areli, Fuss (af732p) Date: Thu, 24 May 2018 09:23:20 +0000 (+0300) Subject: Replace uWsgi X-Git-Tag: 2.0.0-ONAP~4 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=951457ebc38972a5b5be34fd9517106a17e9935c;p=vvp%2Fengagementmgr.git Replace uWsgi Replace uWsgi with gunicorn Change-Id: I46f5cfc5e8133543d1162ed19b515f83f9446006 Issue-ID: VVP-60 Signed-off-by: Areli, Fuss (af732p) --- diff --git a/Dockerfile b/Dockerfile index aa65ec2..96a0e06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,7 +50,6 @@ RUN apk add --no-cache \ linux-headers \ musl-dev \ postgresql-dev \ - libffi-dev \ && : COPY docker-entrypoint.sh / @@ -61,7 +60,8 @@ RUN ln -s -f /opt/configmaps/settings/__init__.py /srv/vvp/settings/__init__.py; ln -s -f /opt/configmaps/settings/envbool.py /srv/vvp/settings/envbool.py; RUN pip install --upgrade setuptools && \ - pip install uwsgi && \ + #pip install uwsgi && \ + pip install gunicorn && \ pip install -r /srv/requirements.txt RUN apk del \ @@ -72,4 +72,4 @@ RUN apk del \ postgresql-dev \ && : ENTRYPOINT ["/docker-entrypoint.sh"] -CMD ["/usr/local/bin/uwsgi", "--ini", "/srv/vvp/settings/uwsgi.ini", "--static-map", "/static=/app/htdocs"] +CMD ["ls", "-l", "/srv"]