fix: backend Dockerfile copies all files, server.js uses port 3000 for container consistency
All checks were successful
DevSecOps-Multibranch/pipeline/head This commit looks good

This commit is contained in:
2025-11-30 18:35:11 +05:30
parent 22e842bf87
commit 8292dcb756
2 changed files with 3 additions and 3 deletions

View File

@@ -14,8 +14,8 @@ COPY package*.json ./
# Install dependencies
RUN npm ci --only=production && npm cache clean --force
# Copy application files
COPY server.js ./
# Copy all application files
COPY . ./
# Create logs directory and set permissions
RUN mkdir -p logs && chown -R nodeapp:nodejs /app