mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Update MC Dockerfiel
This commit is contained in:
parent
4192bea3ab
commit
e8b25d20a3
@ -17,7 +17,7 @@ RUN apk add -U \
|
||||
|
||||
RUN pip install mcstatus
|
||||
|
||||
HEALTHCHECK CMD mcstatus localhost ping
|
||||
HEALTHCHECK CMD mcstatus localhost:$SERVER_PORT ping
|
||||
|
||||
RUN addgroup -g 1000 minecraft \
|
||||
&& adduser -Ss /bin/false -u 1000 -G minecraft -h /home/minecraft minecraft \
|
||||
|
Loading…
Reference in New Issue
Block a user