This commit is contained in:
@@ -48,7 +48,7 @@ RUN pnpm install --prod --frozen-lockfile
|
||||
|
||||
# Copy the built Next.js application and public assets
|
||||
COPY --from=builder /app/public ./public
|
||||
COPY --from=builder /app/.next/standalone ./
|
||||
COPY --from=builder /app/.next ./.next
|
||||
|
||||
# Change ownership to the non-root user
|
||||
RUN chown -R nextjs:nodejs /app
|
||||
|
||||
Reference in New Issue
Block a user