fix(#10): Add Docker HEALTHCHECK on /health endpoint and document healthy/unhealthy criteria
Some checks are pending
Docker Test / test (push) Waiting to run
Some checks are pending
Docker Test / test (push) Waiting to run
This commit is contained in:
parent
153ac243d0
commit
eb7909219f
2 changed files with 37 additions and 0 deletions
|
|
@ -7,4 +7,6 @@ RUN npm ci
|
|||
|
||||
COPY backend/ ./
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:3000/health || exit 1
|
||||
|
||||
CMD ["npm", "test"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue