user an dchown
All checks were successful
Build and deploy / deploy (push) Successful in 2m38s

This commit is contained in:
2024-12-18 00:22:12 +00:00
parent ce19237fd2
commit 6eaf1d6b9f
2 changed files with 2 additions and 6 deletions

View File

@@ -39,9 +39,9 @@ RUN chown nextjs:nodejs .next
# 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 /app/db.sql ./db.sql
COPY --from=builder --chown=nextjs:nodejs /app/db.sql ./db.sql
USER nextjsw
USER nextjs
EXPOSE 3000