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:43:35 +03:00
parent 479150b53f
commit cb3c1fef96
Signed by: cuqmbr
GPG Key ID: 1F62396D020F375C

View File

@ -54,6 +54,12 @@ RUN mkdir -p ${DATA_PATH}/FancyNpcs/logs && \
ln -sf ${DATA_PATH}/FancyNpcs/logs/ \ ln -sf ${DATA_PATH}/FancyNpcs/logs/ \
${CONFIG_PATH}/plugins/FancyNpcs/logs ${CONFIG_PATH}/plugins/FancyNpcs/logs
# 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} VOLUME ${DATA_PATH}