From 329f88d374e088a401951f302bb5334545c3175f Mon Sep 17 00:00:00 2001 From: TheMaddax Date: Wed, 25 Jun 2025 15:02:36 -0500 Subject: [PATCH] Fix frontend port configuration: Update Dockerfile to use port 806 - Changed EXPOSE from 3000 to 806 - Added PORT=806 environment variable - Updated health check to use port 806 - Fixes admin login network error by aligning with docker-compose.yml 806:806 mapping --- frontend/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 6b0491d7..4cd544fd 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -19,11 +19,14 @@ COPY . . RUN pnpm build # Expose port -EXPOSE 3000 +EXPOSE 806 + +# Set port environment variable +ENV PORT=806 # Health check HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ - CMD curl -f http://localhost:3000 || exit 1 + CMD curl -f http://localhost:806 || exit 1 # Start the application CMD ["pnpm", "start"]