We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5950dd1 commit 2402f9dCopy full SHA for 2402f9d
Docker/Dockerfile
@@ -9,6 +9,8 @@ COPY package*.json ./
9
# Install all dependencies (including devDependencies for build)
10
RUN npm ci --ignore-scripts
11
12
+RUN npm prune --omit-dev
13
+
14
# Copy all source code
15
COPY . .
16
@@ -20,12 +22,6 @@ FROM node:24-alpine AS final
20
22
21
23
WORKDIR /app
24
-# Install only production dependencies (though frontend typically doesn't need runtime deps)
-# Copy package files first
25
-# COPY package*.json ./
26
-
27
-# Install only production dependencies
28
-# RUN npm ci --only=production --ignore-scripts && npm cache clean --force
29
30
# Copy built application from builder stage
31
COPY --from=builder /app/dist ./dist
0 commit comments