fix debian command in docker

This commit is contained in:
2026-01-02 23:31:31 +05:30
parent 240eabd162
commit 32c66b7d08

View File

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