epaper/Dockerfile
Pierre-Olivier Mercier 6681962529
All checks were successful
continuous-integration/drone/push Build is passing
Use raw alpine instead of python image
2023-08-29 12:24:51 +02:00

20 lines
703 B
Docker

FROM alpine:3
ENTRYPOINT ["python", "/srv/e-paper/main.py"]
WORKDIR /srv/e-paper
VOLUME /data
RUN apk add --no-cache python3 py3-cairosvg py3-pillow py3-pip py3-pygal tzdata && pip install --upgrade icalendar
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