Skip to content

Commit

Permalink
Disable Healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
mhrimaz committed Nov 27, 2023
1 parent 2d2cc44 commit e20a30e
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 @@ -9,4 +9,4 @@ COPY . .

EXPOSE 80
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
HEALTHCHECK --interval=5s --timeout=5s --retries=3 CMD wget http://0.0.0.0:80/health || exit 1
HEALTHCHECK --interval=30s --timeout=5s --retries=3 --start-period=5s CMD wget http://0.0.0.0:80/health || exit 1

0 comments on commit e20a30e

Please sign in to comment.