fix(docker): reintroduce docker healthcheck

This commit is contained in:
Elian Doran
2025-05-23 22:37:16 +03:00
parent 43d9f77518
commit 9867d1ab9f
3 changed files with 5 additions and 3 deletions

View File

@@ -25,4 +25,4 @@ FROM node:22.16.0-bullseye-slim
# Configure container
EXPOSE 8080
CMD [ "sh", "./start-docker.sh" ]
HEALTHCHECK --start-period=10s CMD exec gosu node node /usr/src/app/docker_healthcheck.js
HEALTHCHECK --start-period=10s CMD exec gosu node node /usr/src/app/docker_healthcheck.cjs