fix build part 2
This commit is contained in:
parent
8a9c9517cb
commit
f3e176f6c7
@ -18,10 +18,10 @@ FROM node:20-alpine AS runner
|
||||
WORKDIR /app
|
||||
|
||||
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 chown nextjs:nextjs ./.next/cache
|
||||
RUN chown nextjs:nodejs ./.next/cache
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user