2019-06-10 23:56:41 -07:00
|
|
|
FROM amd64/python:3.7.3-alpine
|
2018-12-10 18:27:54 -08:00
|
|
|
|
2019-01-09 14:12:39 -08:00
|
|
|
LABEL maintainers="dirtycajunrice,samwiseg0"
|
2018-12-10 18:27:54 -08:00
|
|
|
|
2019-04-24 09:05:00 -07:00
|
|
|
ENV DEBUG="True"
|
2018-12-12 09:50:35 -08:00
|
|
|
|
2019-06-18 15:09:46 -07:00
|
|
|
ENV DATA_FOLDER="/config"
|
|
|
|
|
2019-01-25 10:34:29 -08:00
|
|
|
WORKDIR /app
|
2018-12-10 22:05:37 -08:00
|
|
|
|
2019-01-25 10:34:29 -08:00
|
|
|
COPY /requirements.txt /Varken.py /app/
|
2018-12-10 18:27:54 -08:00
|
|
|
|
2019-01-25 10:34:29 -08:00
|
|
|
COPY /varken /app/varken
|
|
|
|
|
|
|
|
COPY /data /app/data
|
|
|
|
|
2019-04-24 09:41:33 -07:00
|
|
|
COPY /utilities /app/data/utilities
|
2019-04-24 09:30:18 -07:00
|
|
|
|
2019-03-11 16:55:04 -07:00
|
|
|
RUN apk add --no-cache tzdata && \
|
2019-06-10 23:56:41 -07:00
|
|
|
pip install --no-cache-dir -r /app/requirements.txt
|
2019-01-02 21:15:12 -08:00
|
|
|
|
2019-06-18 15:09:46 -07:00
|
|
|
CMD cp /app/data/varken.example.ini /config/varken.example.ini && python3 /app/Varken.py
|
2018-12-10 18:27:54 -08:00
|
|
|
|
2018-12-12 09:38:58 -08:00
|
|
|
VOLUME /config
|