Use uWSGI as the backing runner
This commit is contained in:
parent
d106efb6ce
commit
65033b0937
1 changed files with 2 additions and 1 deletions
|
@ -20,10 +20,11 @@ RUN set -ex \
|
||||||
&& apt-get install -y $buildDeps --no-install-recommends \
|
&& apt-get install -y $buildDeps --no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& pip install --no-cache-dir -r /reqs/requirements.txt -c /reqs/constraints.txt \
|
&& pip install --no-cache-dir -r /reqs/requirements.txt -c /reqs/constraints.txt \
|
||||||
|
&& pip install uwsgi \
|
||||||
&& apt-get purge -y --auto-remove $buildDeps \
|
&& apt-get purge -y --auto-remove $buildDeps \
|
||||||
&& rm -rf /usr/src/python ~/.cache
|
&& rm -rf /usr/src/python ~/.cache
|
||||||
|
|
||||||
COPY . /app/symposion_app
|
COPY . /app/symposion_app
|
||||||
|
|
||||||
WORKDIR /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"]
|
||||||
|
|
Loading…
Reference in a new issue