mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
ee39e3f354
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
13 lines
265 B
Docker
13 lines
265 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:8080", "httpbin:app", "-k", "gevent"]
|