mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-10 06:52:40 +01:00
12
httpbin/Dockerfile
Normal file
12
httpbin/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
FROM python:3-alpine
|
||||||
|
|
||||||
|
RUN apk add --no-cache --virtual .build-deps \
|
||||||
|
build-base \
|
||||||
|
libffi-dev \
|
||||||
|
&& pip3 install --no-cache-dir \
|
||||||
|
gevent \
|
||||||
|
gunicorn \
|
||||||
|
httpbin \
|
||||||
|
&& apk del .build-deps
|
||||||
|
|
||||||
|
CMD ["gunicorn", "-b", "0.0.0.0:80", "httpbin:app", "-k", "gevent"]
|
||||||
Reference in New Issue
Block a user