mirror of
https://github.com/skidoodle/budgetable.git
synced 2025-02-15 03:39:14 +01:00
replace wget with curl for docker healthchecks
This commit is contained in:
parent
e5d1008e59
commit
8e37da9463
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ USER nextjs
|
|||
EXPOSE 3000
|
||||
ENV PORT 3000
|
||||
ENV HOSTNAME "0.0.0.0"
|
||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "wget", "-q0", "http://localhost:3000/health" ]
|
||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "curl", "-f", "http://localhost:3000/health" ]
|
||||
|
||||
# Run the nextjs app
|
||||
CMD ["node", "server.js"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue