Update Dockerfile

This commit is contained in:
2017-03-17 12:46:40 -04:00
committed by GitHub
parent e381c102dd
commit 2fc2a3f47a
+2 -2
View File
@@ -1,6 +1,6 @@
FROM ubuntu:trusty
ENV GUNICORN_WORKERS=4
ENV WEB_CONCURRENCY=4
ADD . /httpbin
@@ -8,4 +8,4 @@ RUN apt-get update -y && apt-get -y install python-pip && pip install gunicorn &
EXPOSE 8080
CMD gunicorn -w "$GUNICORN_WORKERS" -b 0.0.0.0:8080 httpbin:app
CMD gunicorn -b 0.0.0.0:8080 httpbin:app