mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-10 14:24:28 +00:00
(improvement) Offsets healthcheck to T+1m (#397)
This commit is contained in:
parent
15990071d4
commit
15b8c5a7e7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue