feature-42-image-size-optimization-and-uid-gid-selection #37

Merged
cuqmbr merged 2 commits from feature-42 into develop 2025-08-12 19:34:11 +00:00
Showing only changes of commit 9f66b6701e - Show all commits

View File

@ -57,13 +57,17 @@ RUN mkdir -p ${DATA_PATH}/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
dpkg-reconfigure --frontend=noninteractive locales && \
rm -Rf var/lib/apt/lists/*
ENV LANG en_US.UTF-8
VOLUME ${DATA_PATH}
EXPOSE 25565/tcp
ENV MEMORY=4G
ENV PROXY_SECRET=00000000-0000-0000-0000-000000000000
@ -84,8 +88,6 @@ ENV SKINSRESTORER_DB_PASSWORD=0000
WORKDIR ${WORKDIR_PATH}/config
EXPOSE 25565/tcp
CMD \
# Add proxy secret
sed -i "s/_PROXY_SECRET_/${PROXY_SECRET}/g" config/paper-global.yml && \