mirror of
https://github.com/24eme/signaturepdf
synced 2026-03-14 13:55:44 +01:00
update dockerfile to have fr_FR default language
This commit is contained in:
parent
86fc475095
commit
a2a7f88fdc
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -9,15 +9,15 @@ ENV DISABLE_ORGANIZATION=false
|
|||
ENV PDF_DEMO_LINK=true
|
||||
|
||||
RUN apt update && \
|
||||
apt install -y locales gettext-base librsvg2-bin pdftk imagemagick potrace ghostscript && \
|
||||
apt install -y vim locales gettext-base librsvg2-bin pdftk imagemagick potrace ghostscript && \
|
||||
docker-php-ext-install gettext && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
|
||||
RUN sed -i '/fr_FR.UTF-8/s/^# //g' /etc/locale.gen && \
|
||||
locale-gen
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
ENV LANG fr_FR.UTF-8
|
||||
ENV LANGUAGE fr_FR:en
|
||||
ENV LC_ALL fr_FR.UTF-8
|
||||
|
||||
COPY . /usr/local/signaturepdf
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue