mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 23:00:18 +00:00
updated dockerfile
This commit is contained in:
+4
-2
@@ -1,10 +1,12 @@
|
||||
FROM ubuntu:trusty
|
||||
FROM alpine:3.5
|
||||
|
||||
ENV WEB_CONCURRENCY=4
|
||||
|
||||
ADD . /httpbin
|
||||
|
||||
RUN apt-get update -y && apt-get -y install python-pip && pip install gunicorn && pip install /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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user