add unicode locale generation to Dockerfile

before the change, unicode characters were displayed in console as question marks
This commit is contained in:
cuqmbr 2025-08-06 21:54:58 +03:00
parent 997e2dba6d
commit 84c1134853
Signed by: cuqmbr
GPG Key ID: 1F62396D020F375C

View File

@ -12,6 +12,13 @@ RUN mkdir ${DATA_PATH}
RUN mkdir ${DATA_PATH}/logs && \
ln -sf ${DATA_PATH}/logs ${CONFIG_PATH}
# Generate unicode locale so that cyrillic characters display properly
RUN apt-get update -y && apt-get install -y locales && \
echo en_US.UTF-8 UTF-8 > /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales
ENV LANG en_US.UTF-8
VOLUME ${DATA_PATH}