mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
ee39e3f354
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
12 lines
268 B
Docker
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"]
|