fix: copy migration files into Docker runner image for standalone output
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
37a168cf2f
commit
5169ae3ebd
1 file changed
+1
@@ -42,6 +42,7 @@ COPY --from=builder /app/package.json ./package.json
|
||||
# https://nextjs.org/docs/advanced-features/output-file-tracing
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/src/db/migrations ./src/db/migrations
|
||||
|
||||
USER nextjs
|
||||
|
||||
|
||||
Reference in new issue
Block a user