mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 14:50:17 +00:00
14 lines
274 B
Docker
14 lines
274 B
Docker
FROM alpine:3.5
|
|
|
|
ENV WEB_CONCURRENCY=4
|
|
|
|
ADD . /httpbin
|
|
|
|
RUN apk add --update python python-dev py-pip build-base ca-certificates libffi-dev
|
|
RUN pip install --upgrade pip
|
|
RUN pip install gunicorn && pip install /httpbin
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD gunicorn -b 0.0.0.0:8080 httpbin:app
|