mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 13:28:30 +01:00
add httpbin
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
c07c507dc5
commit
9beead9c0e
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"]
|
Loading…
Reference in New Issue
Block a user