mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
add requestbin
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
8833c3b122
commit
ee39e3f354
|
@ -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
11
requestbin/Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user