Files
httpbin/Dockerfile
T
2018-05-19 20:59:06 +02:00

12 lines
214 B
Docker

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