Files
httpbin/Dockerfile
T
kennethreitz 0d7f363f63 Docker updates (#452)
* docker optimizations

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

* port 80

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

* no web concurrency

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

* docker compose

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

* v0.8.0

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-17 17:57:51 -05:00

12 lines
214 B
Docker

FROM ubuntu:18.04
ADD . /httpbin
RUN apt update -y
RUN apt install python3-pip -y
RUN pip3 install --no-cache-dir gunicorn /httpbin
EXPOSE 80
CMD ["gunicorn", "-b", "0.0.0.0:80", "httpbin:app", "-k", "gevent"]