Skip to content

Commit

Permalink
Merge pull request #22 from thijsvanloef/update-healthcheck
Browse files Browse the repository at this point in the history
update start period to 5 min for initial install
  • Loading branch information
thijsvanloef authored Jan 21, 2024
2 parents e415ea7 + d6f9c28 commit 9f55a07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ RUN chmod +x /home/steam/server/init.sh /home/steam/server/start.sh

WORKDIR /home/steam/server

HEALTHCHECK CMD pgrep "PalServer-Linux" > /dev/null || exit 1
HEALTHCHECK --start-period=5m \
CMD pgrep "PalServer-Linux" > /dev/null || exit 1

EXPOSE ${PORT}
ENTRYPOINT ["/home/steam/server/init.sh"]

0 comments on commit 9f55a07

Please sign in to comment.