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"]