Modifiche
This commit is contained in:
@@ -22,7 +22,7 @@ COPY package*.json ./
|
||||
FROM base AS dependencies
|
||||
|
||||
# Install ALL dependencies (including devDependencies for build)
|
||||
RUN npm ci
|
||||
RUN npm install
|
||||
|
||||
# ========================================
|
||||
# Stage 3: Development
|
||||
@@ -50,7 +50,7 @@ CMD ["npm", "start"]
|
||||
FROM base AS production-dependencies
|
||||
|
||||
# Install only production dependencies
|
||||
RUN npm ci --only=production && \
|
||||
RUN npm install --only=production && \
|
||||
npm cache clean --force
|
||||
|
||||
# ========================================
|
||||
|
||||
Reference in New Issue
Block a user