mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
(improvement) Offsets healthcheck to T+1m (#397)
This commit is contained in:
parent
15990071d4
commit
15b8c5a7e7
@ -20,7 +20,7 @@ RUN apk add --no-cache -U \
|
||||
|
||||
RUN pip install mcstatus yq
|
||||
|
||||
HEALTHCHECK CMD mcstatus localhost:$SERVER_PORT ping
|
||||
HEALTHCHECK --start-period=1m 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