summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAreli, Fuss (af732p) <af732p@att.com>2018-05-24 12:23:20 +0300
committerAreli, Fuss (af732p) <af732p@att.com>2018-05-24 12:23:20 +0300
commit951457ebc38972a5b5be34fd9517106a17e9935c (patch)
treed3175d7ad2ec97f839137e8ec3094833c343b7e6
parent91dd9abf2c07e2d87e728307bd74fb7304f229dd (diff)
Replace uWsgi
Replace uWsgi with gunicorn Change-Id: I46f5cfc5e8133543d1162ed19b515f83f9446006 Issue-ID: VVP-60 Signed-off-by: Areli, Fuss (af732p) <af732p@att.com>
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
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"]