removed "public" dir from dockerfile

This commit is contained in:
2024-01-10 16:17:10 +01:00
parent b4d2273777
commit cb682013c4

View File

@@ -36,7 +36,7 @@ ENV NODE_ENV production
RUN addgroup --system --gid 1001 nodejs RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs RUN adduser --system --uid 1001 nextjs
COPY --from=builder /app/public ./public # COPY --from=builder /app/public ./public
# Set the correct permission for prerender cache # Set the correct permission for prerender cache
RUN mkdir .next RUN mkdir .next