Fix package-lock issues when building with Docker
This commit is contained in:
@@ -25,6 +25,7 @@ WORKDIR /app
|
||||
|
||||
# Install only production dependencies
|
||||
COPY backend/package*.json ./
|
||||
COPY package-lock.json ./
|
||||
RUN npm ci --production
|
||||
|
||||
# Copy built files
|
||||
|
||||
Reference in New Issue
Block a user