From 8a9c9517cb86a089d8d763b646fcc8915740e663 Mon Sep 17 00:00:00 2001 From: nomi-nonsz Date: Thu, 1 Jan 2026 18:29:02 +0700 Subject: [PATCH] try to fix build error --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b8fc3cf..3c9a77b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,12 +20,13 @@ WORKDIR /app RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs +RUN mkdir -p ./.next/cache +RUN chown nextjs:nextjs ./.next/cache + ENV NODE_ENV=production USER nextjs -RUN mkdir -p ./.next/cache - COPY --from=builder /app/public ./public COPY --from=builder /app/.next/standalone ./ COPY --from=builder /app/.next/static ./.next/static