Files
flees/code/Dockerfile
2018-02-25 20:32:02 +02:00

17 lines
410 B
Docker

FROM alpine:3.5
RUN apk add --update \
python3 \
python3-dev \
py3-pip \
build-base
COPY docker-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 notifier.py /code/notifier.py
COPY app.py /code/app.py
COPY start_app.py /code/start_app.py
WORKDIR /code
CMD python3 start_app.py