Skip to content

Commit 438950b

Browse files
Copying modules and scripts
1 parent 347d4f6 commit 438950b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ COPY --from=builder /app/public ./public
4646
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
4747
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
4848

49-
COPY scripts ./scripts
49+
# Copying scripts and node_modules required for seeding
50+
COPY --from=deps /app/node_modules ./node_modules
51+
COPY --from=builder /app/scripts ./scripts
5052

5153
USER nextjs
5254

0 commit comments

Comments
 (0)