epaper/Dockerfile

20 lines
703 B
Docker
Raw Normal View History

2023-08-29 10:19:16 +00:00
FROM alpine:3
2023-08-29 09:59:35 +00:00
ENTRYPOINT ["python", "/srv/e-paper/main.py"]
WORKDIR /srv/e-paper
VOLUME /data
2023-08-29 10:19:16 +00:00
RUN apk add --no-cache python3 py3-cairosvg py3-pillow py3-pip py3-pygal tzdata && pip install --upgrade icalendar
2023-08-29 09:59:35 +00:00
ADD https://github.com/adobe-fonts/source-sans/raw/release/OTF/SourceSans3-Bold.otf /usr/share/fonts/source-sans/SourceSans3-Bold.otf
ADD https://github.com/adobe-fonts/source-sans/raw/release/OTF/SourceSans3-It.otf /usr/share/fonts/source-sans/SourceSans3-It.otf
ADD https://github.com/adobe-fonts/source-sans/raw/release/OTF/SourceSans3-Regular.otf /usr/share/fonts/source-sans/SourceSans3-Regular.otf
COPY modules modules
COPY fonts fonts
COPY icons icons
COPY main.py .
WORKDIR /data