mirror of
https://github.com/24eme/signaturepdf
synced 2026-03-14 13:55:44 +01:00
add default language in docker
This commit is contained in:
parent
abd2b9a434
commit
2a8b01f5be
4 changed files with 17 additions and 16 deletions
|
|
@ -13,12 +13,6 @@ RUN apt update && \
|
|||
docker-php-ext-install gettext && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN sed -i "/$DEFAULT_LANGUAGE/s/^# //g" /etc/locale.gen && \
|
||||
locale-gen
|
||||
ENV LANG $DEFAULT_LANGUAGE
|
||||
ENV LANGUAGE $DEFAULT_LANGUAGE
|
||||
ENV LC_ALL $DEFAULT_LANGUAGE
|
||||
|
||||
COPY . /usr/local/signaturepdf
|
||||
|
||||
RUN envsubst < /usr/local/signaturepdf/config/php.ini > /usr/local/etc/php/conf.d/uploads.ini && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue