mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-04 03:48:55 +02:00
fix httpbin
This commit is contained in:
parent
414c6dc350
commit
e44be614cd
@ -6,10 +6,8 @@ FROM alpine:3
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
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
|
||||
&& apk add --no-cache py3-brotlipy py3-cffi py3-pip \
|
||||
&& pip3 install --no-cache-dir gunicorn httpbin
|
||||
|
||||
EXPOSE 8000
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "httpbin:app"]
|
||||
|
Loading…
Reference in New Issue
Block a user