We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa45878 commit f4d27d7Copy full SHA for f4d27d7
1 file changed
Dockerfile
@@ -1,4 +1,4 @@
1
-# Build Vue app
+# Build client
2
FROM node:22.12.0 AS client-builder
3
WORKDIR /app/client
4
COPY client/package*.json ./
@@ -20,8 +20,7 @@ WORKDIR /app
20
ENV SERVE_CLIENT=true
21
COPY --from=server-builder /app/server/dist ./server/dist
22
COPY --from=client-builder /app/client/dist ./server/dist/views
23
-COPY server/package*.json ./
24
-RUN npm ci
+COPY --from=server-builder /app/server/node_modules ./node_modules
25
26
EXPOSE 3001
27
0 commit comments