copying docker to image and building

This commit is contained in:
Malar Kannan
2017-08-01 16:54:55 +05:30
parent 4416dfc201
commit b5c42cd95d
2 changed files with 14 additions and 12 deletions

View File

@@ -1,6 +1,9 @@
FROM alpine:3.6
RUN apk add --no-cache --update python py-pip py-lxml && \
pip install -r requirements.txt
ADD ./docker /walle-react
WORKDIR /walle-react
cmd 'gunicorn --bind 0.0.0.0:3000 wsgi'
RUN apk add --no-cache --update python py-pip py-lxml \
&& pip install -r requirements.txt
CMD gunicorn --bind 0.0.0.0:$PORT wsgi