Skip to content

Commit 47ef0a6

Browse files
committed
🐞 fix: update Dockerfile to copy node_modules and package.json from builder
1 parent ffd0a99 commit 47ef0a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ RUN bun run build
1717
FROM base AS runner
1818
ENV NODE_ENV=production
1919

20+
COPY --from=builder --chown=bun:bun /app/node_modules ./node_modules
21+
COPY --from=builder --chown=bun:bun /app/package.json ./package.json
2022
COPY --from=builder --chown=bun:bun /app/public ./public
2123
COPY --from=builder --chown=bun:bun /app/.next/standalone ./
2224
COPY --from=builder --chown=bun:bun /app/.next/static ./.next/static

0 commit comments

Comments
 (0)