Don't see unsupported locales in docker image

This commit is contained in:
Yax 2025-06-21 17:07:23 +02:00
parent a6136abba7
commit 1580c7c1af

View file

@ -8,9 +8,6 @@ COPY docker/nginx.conf /etc/nginx/nginx.conf
# set timezone and locale # set timezone and locale
RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime && echo "Europe/Paris" > /etc/timezone RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime && echo "Europe/Paris" > /etc/timezone
ENV TZ Europe/Paris ENV TZ Europe/Paris
ENV LANG fr_FR.UTF-8
ENV LANGUAGE fr_FR.UTF-8
ENV LC_ALL fr_FR.UTF-8
COPY docker/docker-init.sh /usr/local/bin/ COPY docker/docker-init.sh /usr/local/bin/
RUN chmod +x usr/local/bin/docker-init.sh RUN chmod +x usr/local/bin/docker-init.sh