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