Use uWSGI as the backing runner

This commit is contained in:
Sachi King 2017-06-24 14:09:33 +10:00
parent d106efb6ce
commit 65033b0937

View file

@ -20,10 +20,11 @@ RUN set -ex \
&& apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --no-cache-dir -r /reqs/requirements.txt -c /reqs/constraints.txt \
&& pip install uwsgi \
&& apt-get purge -y --auto-remove $buildDeps \
&& rm -rf /usr/src/python ~/.cache
COPY . /app/symposion_app
WORKDIR /app/symposion_app
CMD ["/app/symposion_app/docker/deploy_with_sqlite.sh"]
CMD ["/usr/local/bin/uwsgi", "--http-socket", "0.0.0.0:8080", "--wsgi-file", "pinaxcon/wsgi.py"]