From be35be0c1036d1c8047913d9270c2d5181a2ef30 Mon Sep 17 00:00:00 2001 From: Tiago Yamamoto Date: Sat, 13 Dec 2025 18:23:48 -0300 Subject: [PATCH] fix(docker): align Dockerfile port with .env configuration (8521) - Updated EXPOSE from 8080 to 8521 - Updated HEALTHCHECK to check port 8521 - Updated default ENV PORT from 8080 to 8521 This fixes the deployment health check issue where the container was expecting port 8080 but the app was configured to run on 8521. --- backend/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index ed72b32..d566e89 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -54,14 +54,14 @@ RUN chown -R appuser:appgroup /app USER appuser # Expose port -EXPOSE 8080 +EXPOSE 8521 # Health check HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ - CMD wget -qO- http://localhost:8080/health || exit 1 + CMD wget -qO- http://localhost:8521/health || exit 1 # Environment defaults -ENV PORT=8080 \ +ENV PORT=8521 \ TZ=America/Sao_Paulo CMD ["./main"]