21 lines
515 B
Docker
21 lines
515 B
Docker
FROM alpine:3.10
|
|
RUN apk add --update \
|
|
tzdata \
|
|
python3 \
|
|
python3-dev \
|
|
build-base \
|
|
libmagic \
|
|
curl
|
|
RUN curl https://bootstrap.pypa.io/get-pip.py | python3
|
|
COPY docker-requirements.txt /requirements.txt
|
|
RUN pip3 install -r /requirements.txt
|
|
COPY static /code/static
|
|
COPY templates /code/templates
|
|
COPY utils /code/utils
|
|
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
|