Skip to content

An open source, self-hosted, real-time port monitoring and discovery tool.

fix: add NODE_ENV environment variable to Dockerfile for production configuration

Mostafa Wahied939fc4104c90
diff --git a/Dockerfile b/Dockerfile
index b71e7ff..b8b709e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -73,6 +73,8 @@ WORKDIR /app/backend
# Environment variables
ENV PORT=4999
ENV DATABASE_PATH=/data/portracker.db
+ENV NODE_ENV=production
+
# Volume for data persistence
VOLUME /data