We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39b8b28 commit ff76c13Copy full SHA for ff76c13
Dockerfile
@@ -1,9 +1,6 @@
1
# Multi-stage build for efficiency
2
FROM node:18-alpine AS builder
3
4
-# Better: pin exact node version (for reproducibility)
5
-ARG NODE_ENV=production
6
-
7
WORKDIR /app
8
9
# Copy package files
@@ -31,7 +28,7 @@ WORKDIR /app
31
28
32
29
# Copy package files and production dependencies
33
30
COPY package*.json ./
34
-RUN npm ci --omit=dev
+RUN npm ci --only=production
35
36
# Copy built Vue app from builder
37
COPY --from=builder /app/vue/dist ./vue/dist
0 commit comments