Files
flees/code/Dockerfile
2018-01-24 10:53:17 +02:00

15 lines
361 B
Docker

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