From 22e842bf875d620245036eac0f370112a94fa41a Mon Sep 17 00:00:00 2001 From: giteaadmin Date: Sun, 30 Nov 2025 12:52:29 +0000 Subject: [PATCH] updated dockerFile --- backend/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index be871c8..0b1edbd 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -25,10 +25,10 @@ USER nodeapp # Health check HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ - CMD wget --no-verbose --tries=1 --spider http://localhost:3001/health || exit 1 + CMD wget --no-verbose --tries=1 --spider http://localhost:3000/health || exit 1 -# Expose port -EXPOSE 3001 +# 2. Fix Expose to match the app +EXPOSE 3000 # Start the application CMD ["node", "server.js"]