Varken/Dockerfile

32 lines
1,023 B
Text
Raw Normal View History

FROM python:3.9.1-alpine
LABEL maintainer="dirtycajunrice,samwiseg0" \
org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.url="https://github.com/Boerderij/Varken" \
org.opencontainers.image.source="https://github.com/Boerderij/Varken" \
org.opencontainers.image.version=$VERSION \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.vendor="boerderij" \
org.opencontainers.image.title="varken" \
org.opencontainers.image.description="Varken is a standalone application to aggregate data from the Plex ecosystem into InfluxDB using Grafana for a frontend" \
org.opencontainers.image.licenses="MIT"
2018-12-10 20:27:54 -06:00
ENV DEBUG="True"
2018-12-12 12:50:35 -05:00
ENV DATA_FOLDER="/config"
2019-01-25 12:34:29 -06:00
WORKDIR /app
2018-12-11 00:05:37 -06:00
2019-01-25 12:34:29 -06:00
COPY /requirements.txt /Varken.py /app/
2018-12-10 20:27:54 -06:00
2019-01-25 12:34:29 -06:00
COPY /varken /app/varken
COPY /data /app/data
2019-04-24 11:41:33 -05:00
COPY /utilities /app/data/utilities
2019-04-24 11:30:18 -05:00
2019-03-11 19:55:04 -04:00
RUN apk add --no-cache tzdata && \
pip install --no-cache-dir -r /app/requirements.txt
2019-01-02 23:15:12 -06:00
CMD cp /app/data/varken.example.ini /config/varken.example.ini && python3 /app/Varken.py