From 9beead9c0e1afdfc312b0e7c3ab711db7d07d064 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Mon, 11 Jun 2018 15:20:03 -0400 Subject: [PATCH] add httpbin Signed-off-by: Jess Frazelle --- httpbin/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 httpbin/Dockerfile diff --git a/httpbin/Dockerfile b/httpbin/Dockerfile new file mode 100644 index 0000000..09e8cfc --- /dev/null +++ b/httpbin/Dockerfile @@ -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"]