rearranged Dockerfile statements and add remove cache after locale installation
This commit is contained in:
parent
cae7ab9022
commit
20f39cf22e
15
Dockerfile
15
Dockerfile
@ -80,13 +80,20 @@ RUN mkdir -p ${DATA_PATH}/Chunky/tasks && \
|
||||
# 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}
|
||||
|
||||
|
||||
# Minecraft
|
||||
EXPOSE 25565/tcp
|
||||
# BlueMap
|
||||
EXPOSE 8100/tcp
|
||||
|
||||
|
||||
ENV MEMORY=4G
|
||||
ENV PROXY_SECRET=00000000-0000-0000-0000-000000000000
|
||||
|
||||
@ -130,12 +137,8 @@ ENV DISCORDSRV_DB_NAME=discordsrv_db
|
||||
ENV DISCORDSRV_DB_USERNAME=discordsrv
|
||||
ENV DISCORDSRV_DB_PASSWORD=0000
|
||||
|
||||
WORKDIR ${WORKDIR_PATH}/config
|
||||
|
||||
# Minecraft
|
||||
EXPOSE 25565/tcp
|
||||
# BlueMap
|
||||
EXPOSE 8100/tcp
|
||||
WORKDIR ${WORKDIR_PATH}/config
|
||||
|
||||
CMD \
|
||||
# Add proxy secret
|
||||
|
Loading…
Reference in New Issue
Block a user