Replace uWsgi 73/48873/1
authorAreli, Fuss (af732p) <af732p@att.com>
Thu, 24 May 2018 09:23:20 +0000 (12:23 +0300)
committerAreli, Fuss (af732p) <af732p@att.com>
Thu, 24 May 2018 09:23:20 +0000 (12:23 +0300)
Replace uWsgi with gunicorn

Change-Id: I46f5cfc5e8133543d1162ed19b515f83f9446006
Issue-ID: VVP-60
Signed-off-by: Areli, Fuss (af732p) <af732p@att.com>
Dockerfile

index aa65ec2..96a0e06 100644 (file)
@@ -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"]