mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-02-04 03:03:13 +01:00
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"]
|