We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afb523c commit c17bf82Copy full SHA for c17bf82
1 file changed
packages/server/Dockerfile
@@ -30,15 +30,13 @@ RUN pnpm --filter server build
30
FROM base AS runner
31
WORKDIR /app
32
33
-# Copy built files
34
-COPY --from=builder /app/packages/server/dist ./dist
35
-COPY --from=builder /app/packages/server/package.json ./package.json
36
-COPY --from=builder /app/node_modules ./node_modules
37
-COPY --from=builder /app/packages ./packages
+# Copy the ENTIRE workspace structure
+COPY --from=builder /app ./
38
39
ENV NODE_ENV=production
40
ENV PORT=4000
41
42
EXPOSE 4000
43
+WORKDIR /app/packages/server
44
CMD ["node", "dist/index.js"]
0 commit comments