From 43637f9b4b5b0db615549a71612085ece1aa3327 Mon Sep 17 00:00:00 2001 From: tom Date: Mon, 18 Dec 2023 17:39:50 +0400 Subject: [PATCH] [skip ci] update Dockerfile --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index e411829719..0d72a22214 100644 --- a/Dockerfile +++ b/Dockerfile @@ -89,6 +89,10 @@ WORKDIR /app RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs +# Set the correct permission for prerender cache +RUN mkdir .next +RUN chown nextjs:nodejs .next + COPY --from=builder /app/next.config.js ./ COPY --from=builder /app/public ./public COPY --from=builder /app/package.json ./package.json