fix dockerfile

This commit is contained in:
ismail 2026-02-02 17:06:33 +01:00
parent b4cc0ce138
commit d1d5752094
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ RUN adduser --system --uid 1001 nextjs
COPY --from=builder /app/public ./public
# Set the correct permission for prerender cache
mkdir .next
chown nextjs:nodejs .next
RUN mkdir .next
RUN chown nextjs:nodejs .next
# Automatically leverage output traces to reduce image size
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./