add httpbin

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-06-11 15:20:03 -04:00
parent c07c507dc5
commit 9beead9c0e
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

12
httpbin/Dockerfile Normal file
View 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"]