fix debian command in docker
This commit is contained in:
@@ -29,8 +29,8 @@ WORKDIR /app
|
|||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
ENV NEXT_TELEMETRY_DISABLED 1
|
ENV NEXT_TELEMETRY_DISABLED 1
|
||||||
|
|
||||||
RUN addgroup --system --gid 1001 nodejs
|
RUN groupadd -g 1001 -r nodejs
|
||||||
RUN adduser --system --uid 1001 nextjs
|
RUN useradd -u 1001 -r -g nodejs -s /bin/false -m nextjs
|
||||||
|
|
||||||
COPY --from=builder /app/public ./public
|
COPY --from=builder /app/public ./public
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user