epaper/Dockerfile
Pierre-Olivier Mercier cc810269e2
All checks were successful
continuous-integration/drone/push Build is passing
Add Dockerfile + CI/CD
2023-08-29 12:05:45 +02:00

19 lines
690 B
Docker

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