Skip to content

Commit

Permalink
chore(dockerfile): update healthcheck command
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadNews committed Jun 17, 2024
1 parent 9f8da30 commit aa9ffde
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 @@ -15,7 +15,7 @@ RUN bun install --production --frozen-lockfile

USER bun:bun
EXPOSE ${NODE_PORT}
HEALTHCHECK --interval=60s --timeout=3s \
HEALTHCHECK --interval=60s --retries=3 --timeout=10s --start-period=60s \
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${NODE_PORT}/health || exit 1

CMD ["bun", "start"]

0 comments on commit aa9ffde

Please sign in to comment.