Skip to content

Commit

Permalink
build: Drop nextjs output traces
Browse files Browse the repository at this point in the history
  • Loading branch information
topher-lo committed Jun 17, 2024
1 parent 9b00879 commit 02b607d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions frontend/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ COPY --from=builder /app/public ./public
RUN mkdir .next
RUN chown nextjs:nodejs .next

# Automatically leverage output traces to reduce image size
# 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

# Switch into non-admin user
USER nextjs

Expand Down

0 comments on commit 02b607d

Please sign in to comment.