add requestbin

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-06-11 18:15:11 -04:00
parent 8833c3b122
commit ee39e3f354
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 12 additions and 1 deletions

View File

@ -9,4 +9,4 @@ RUN apk add --no-cache --virtual .build-deps \
httpbin \
&& apk del .build-deps
CMD ["gunicorn", "-b", "0.0.0.0:80", "httpbin:app", "-k", "gevent"]
CMD ["gunicorn", "-b", "0.0.0.0:8080", "httpbin:app", "-k", "gevent"]

11
requestbin/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM python:3-alpine
RUN apk add --no-cache --virtual .build-deps \
build-base \
&& pip3 install --no-cache-dir \
gevent \
gunicorn \
requestbin \
&& apk del .build-deps
CMD ["gunicorn", "-b", "0.0.0.0:8080", "requestbin:app", "--worker-class", "gevent"]