fix healthcheck
Build and Push Docker Images / build-and-push (push) Successful in 32s

This commit is contained in:
2025-08-21 13:53:34 +02:00
parent c2b01c14ed
commit 6cc54cb8a2
+1 -1
View File
@@ -29,7 +29,7 @@ ENV API_KEY=default-api-key-change-me
# Health check
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD node -e "require('http').get('http://localhost:8080/health', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) })"
CMD node -e "require('http').get('http://localhost:3000/health', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) })"
# Start the application
CMD ["npm", "start"]