Skip to content

Commit

Permalink
Merge pull request #35 from nikorev/master
Browse files Browse the repository at this point in the history
Added healthcheck
  • Loading branch information
mpepping authored Nov 21, 2023
2 parents bf6b376 + 90cbdd9 commit 5025e9d
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 @@ -36,4 +36,7 @@ RUN sed -i \
COPY --from=build /srv/build/prod /usr/share/nginx/html
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
CMD curl -sf -o /dev/null http://localhost:8000 || exit 1
EXPOSE 8000

0 comments on commit 5025e9d

Please sign in to comment.