mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-10 10:41:00 +00:00
(improvement) Offsets healthcheck to T+1m (#397)
This commit is contained in:
1 parent
15990071d4
commit
15b8c5a7e7
1 file changed
+1
-1
+1
-1
@@ -20,7 +20,7 @@ RUN apk add --no-cache -U \
|
|||||||
|
|
||||||
RUN pip install mcstatus yq
|
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 \
|
RUN addgroup -g 1000 minecraft \
|
||||||
&& adduser -Ss /bin/false -u 1000 -G minecraft -h /home/minecraft minecraft \
|
&& adduser -Ss /bin/false -u 1000 -G minecraft -h /home/minecraft minecraft \
|
||||||
|
|||||||
Reference in new issue
Block a user