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 4c90707 commit e20053cCopy full SHA for e20053c
Dockerfile
@@ -17,12 +17,10 @@ RUN bun run build
17
FROM base AS runner
18
WORKDIR /app
19
20
-# Copy built application
+# Copy built application and node_modules
21
COPY --from=builder /app/.output ./.output
22
COPY --from=builder /app/package.json ./package.json
23
-
24
-# Install production dependencies only
25
-RUN bun install --production --frozen-lockfile
+COPY --from=builder /app/node_modules ./node_modules
26
27
# Set production environment
28
ENV NODE_ENV=production
0 commit comments