From 65033b0937e0da084b046c0c30331d96bd0b1bcb 2017-06-24 04:09:33 From: Sachi King Date: 2017-06-24 04:09:33 Subject: [PATCH] Use uWSGI as the backing runner --- diff --git a/docker/Dockerfile b/docker/Dockerfile index 28ba6b7fbb57526ca36bab5f1a9305de3f9bea90..ade3a30085c6764439838a13fc198e715cae26f8 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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"]