mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-09 22:42:40 +01:00
@@ -9,4 +9,4 @@ RUN apk add --no-cache --virtual .build-deps \
|
|||||||
httpbin \
|
httpbin \
|
||||||
&& apk del .build-deps
|
&& 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"]
|
||||||
Reference in New Issue
Block a user