This commit is contained in:
2018-01-24 10:53:17 +02:00
commit 57e6bd5608
10 changed files with 280 additions and 0 deletions

14
code/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM alpine:3.5
RUN apk add --update \
python3 \
python3-dev \
py3-pip \
build-base
COPY requirements.txt /requirements.txt
RUN pip3 install -r /requirements.txt
COPY static /code/static
COPY templates /code/templates
COPY revprox.py /code/revprox.py
COPY app.py /code/app.py
WORKDIR /code
CMD gunicorn -b 0.0.0.0:80 --timeout 3600 -w 6 app:app