dockerfiles/requestbin/Dockerfile
Jess Frazelle ee39e3f354
add requestbin
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-11 18:15:11 -04:00

12 lines
268 B
Docker

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"]