Add Docker healthcheck

This commit is contained in:
Cay Joksch 2026-02-28 15:18:07 +00:00
parent 3213edc237
commit 46726e4a6a

View File

@ -9,4 +9,7 @@ COPY . .
EXPOSE 3005
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
CMD wget -qO- http://localhost:3005/ || exit 1
CMD ["node", "app.js"]