From b36903a239de5f102cf7e1152301aa640f4207e8 Mon Sep 17 00:00:00 2001 From: Mustafa Date: Thu, 30 Jul 2026 12:41:21 +0300 Subject: [PATCH] fix: mkdir public before COPY in Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index afbd09a..7f722f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,7 @@ ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs +RUN mkdir -p ./public COPY --from=builder /app/public ./public RUN mkdir .next RUN chown nextjs:nodejs .next