Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lzcapp committed Jun 17, 2024
1 parent 339d4c4 commit 6be7371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ COPY . .

CMD [ "python", "./app.py" ]

HEALTHCHECK CMD curl --fail http://localhost:5000/ || exit 1
HEALTHCHECK --interval=5s --timeout=3s --retries=3 CMD curl --fail http://localhost:5000/ || exit 1

0 comments on commit 6be7371

Please sign in to comment.