1
0
Fork 0
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:
tale-fau 2023-09-28 13:25:40 +02:00
commit 2a8b01f5be
4 changed files with 17 additions and 16 deletions

View file

@ -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 && \