1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/httpbin/Dockerfile

16 lines
359 B
Docker
Raw Normal View History

2016-01-14 11:20:38 +02:00
#
# Dockerfile for httpbin
#
2022-02-14 12:23:42 +02:00
FROM alpine:3
MAINTAINER EasyPi Software Foundation
2016-01-14 11:20:38 +02:00
2022-02-14 12:23:42 +02:00
RUN set -xe \
&& apk add --no-cache build-base libffi-dev python3 python3-dev \
&& python3 -m ensurepip \
&& pip3 install --no-cache-dir gunicorn httpbin \
&& apk del build-base libffi-dev python3-dev
2016-01-14 11:20:38 +02:00
2022-02-14 12:23:42 +02:00
EXPOSE 8000
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "httpbin:app"]