updates again

This commit is contained in:
Jake Kasper
2025-08-21 07:43:43 -05:00
parent 041c603d76
commit cebfbd9454
6 changed files with 40 additions and 6 deletions

View File

@@ -23,9 +23,9 @@ USER turftracker
# Expose port
EXPOSE 3000
# Health check
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:3000 || exit 1
# Health check using Node.js script
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
CMD node healthcheck.js
# Start the application
CMD ["npm", "start"]