modified: Dockerfile
This commit is contained in:
@@ -45,7 +45,7 @@ WORKDIR /app
|
||||
|
||||
# Copy backend package files and install production deps
|
||||
COPY backend/package*.json ./
|
||||
RUN npm ci --only=production && npm cache clean --force
|
||||
RUN npm ci --omit=dev && npm cache clean --force
|
||||
|
||||
# Copy built backend
|
||||
COPY --from=backend-builder /app/backend/dist ./dist
|
||||
|
||||
Reference in New Issue
Block a user