Update Dockerfile

This commit is contained in:
Twig6943 2026-03-27 10:19:12 +03:00 committed by GitHub
parent a3c03c7f81
commit 90649d8062
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,6 +52,8 @@ RUN echo "mclce ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/mclce \
USER mclce
WORKDIR /srv/mc
# ownership
RUN sudo chmod 0755 /srv/mc && \
sudo chmod 0755 /srv/persist && \
@ -69,6 +71,4 @@ RUN chmod 0755 /usr/local/bin/entrypoint.sh \
&& mkdir -p /var/opt/wineprefix64 /srv/mc \
&& test -f /srv/mc/Minecraft.Server.exe
WORKDIR /srv/mc
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/entrypoint.sh"]