mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
9beead9c0e
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
13 lines
263 B
Docker
13 lines
263 B
Docker
FROM python:3-alpine
|
|
|
|
RUN apk add --no-cache --virtual .build-deps \
|
|
build-base \
|
|
libffi-dev \
|
|
&& pip3 install --no-cache-dir \
|
|
gevent \
|
|
gunicorn \
|
|
httpbin \
|
|
&& apk del .build-deps
|
|
|
|
CMD ["gunicorn", "-b", "0.0.0.0:80", "httpbin:app", "-k", "gevent"]
|