mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Update Dockerfile
This commit is contained in:
parent
c60fa7e19f
commit
a5ca388b63
|
|
@ -52,8 +52,6 @@ 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 && \
|
||||
|
|
@ -71,4 +69,6 @@ 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"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue