Fix locales

This commit is contained in:
nemunaire 2023-08-29 13:04:25 +02:00
parent 6681962529
commit 62fc7eb2f0
1 changed files with 3 additions and 1 deletions

View File

@ -1,11 +1,13 @@
FROM alpine:3
ENV MUSL_LOCPATH="/usr/share/i18n/locales/musl"
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
RUN apk add --no-cache musl-locales musl-locales-lang 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