mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 06:46:16 +00:00
17 lines
347 B
Docker
17 lines
347 B
Docker
FROM ubuntu:18.04
|
|
|
|
LABEL name="httpbin"
|
|
LABEL version="0.9.2"
|
|
LABEL description="A simple HTTP service."
|
|
LABEL org.kennethreitz.vendor="Kenneth Reitz"
|
|
|
|
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"]
|