try to fix build error

This commit is contained in:
Nomi Nonsense (Nonszy) 2026-01-01 18:29:02 +07:00
parent 90f6e840f3
commit 8a9c9517cb

View File

@ -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