An open source, self-hosted, real-time port monitoring and discovery tool.
fix: remove NODE_ENV variable and adjust health check timeout in Dockerfile
Mostafa Wahied36bcb030f125
diff --git a/Dockerfile b/Dockerfileindex b8b709e..fef9e2d 100644--- a/Dockerfile+++ b/Dockerfile@@ -73,23 +73,15 @@ WORKDIR /app/backend# Environment variablesENV PORT=4999ENV DATABASE_PATH=/data/portracker.db-ENV NODE_ENV=production-# Volume for data persistenceVOLUME /data-# Ensure /data directory permissions are correct for SQLite-RUN chmod 755 /data && chown node:node /data--# Switch to non-root user-USER node-# Expose portEXPOSE 4999# Health check-HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \+HEALTHCHECK --interval=30s --timeout=3s --retries=3 \CMD wget --no-verbose --tries=1 --spider http://localhost:4999/api/health || exit 1# Run the application