aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index d44fef7..19bcee5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -65,8 +65,8 @@ RUN apk add --no-cache \
py-setuptools \
sqlite \
ttf-freefont \
- uwsgi \
- uwsgi-python \
+# uwsgi \
+# uwsgi-python \
wget \
xvfb \
&& :
@@ -78,7 +78,8 @@ WORKDIR /app
RUN ln -s -f /opt/configmaps/settings/__init__.py /app/web/settings/__init__.py
RUN pip install --upgrade setuptools && \
- pip install uwsgi && \
+# pip install uwsgi && \
+ pip install gunicorn && \
pip install -r requirements.txt
RUN apk del \
@@ -91,4 +92,4 @@ RUN apk del \
&& :
ENTRYPOINT ["/app/docker-entrypoint.sh"]
-CMD ["/usr/local/bin/uwsgi", "--ini", "/app/web/settings/uwsgi.ini"]
+CMD ["/usr/local/bin/gunicorn", "-c", "/opt/configmaps/settings/gunicorn.ini" , "web.wsgi:application"]