Skip to content

Commit

Permalink
Fix healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
november-pain authored Nov 19, 2024
1 parent 79cba94 commit 8e21aa8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ RUN apt-get update && \

EXPOSE 4200

HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD curl -f http://localhost:4200/health

CMD ["python", "-m", "src.main"]

0 comments on commit 8e21aa8

Please sign in to comment.