Skip to content

Commit

Permalink
fix issue with NR and standalone nextjs server
Browse files Browse the repository at this point in the history
  • Loading branch information
jackiequach committed Sep 24, 2024
1 parent b607eb7 commit 0cc6335
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ COPY --from=builder /app/public ./public
# 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/newrelic.js ./newrelic.js

USER nextjs

Expand Down

0 comments on commit 0cc6335

Please sign in to comment.