fix build part 2

This commit is contained in:
Nomi Nonsense (Nonszy) 2026-01-01 18:32:19 +07:00
parent 8a9c9517cb
commit f3e176f6c7

View File

@ -18,10 +18,10 @@ FROM node:20-alpine AS runner
WORKDIR /app WORKDIR /app
RUN addgroup --system --gid 1001 nodejs RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs RUN adduser --system --uid 1001 --ingroup nodejs nextjs
RUN mkdir -p ./.next/cache RUN mkdir -p ./.next/cache
RUN chown nextjs:nextjs ./.next/cache RUN chown nextjs:nodejs ./.next/cache
ENV NODE_ENV=production ENV NODE_ENV=production