Skip to content

Commit

Permalink
Add basic healthcheck.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Apr 28, 2023
1 parent b401635 commit 9ee51e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ VOLUME "/remotely-data"

RUN chmod +x "/src/DockerMain.sh"

ENTRYPOINT ["/src/DockerMain.sh"]
ENTRYPOINT ["/src/DockerMain.sh"]

HEALTHCHECK --interval=5m --timeout=3s \
CMD curl -f http://localhost:5000/ || exit 1

0 comments on commit 9ee51e9

Please sign in to comment.