dockerfiles/httpbin/Dockerfile

13 lines
265 B
Docker
Raw Normal View History

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"]