diff --git a/web/Dockerfile b/web/Dockerfile index b12c1b2..f9230b9 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -29,8 +29,8 @@ WORKDIR /app ENV NODE_ENV production ENV NEXT_TELEMETRY_DISABLED 1 -RUN addgroup --system --gid 1001 nodejs -RUN adduser --system --uid 1001 nextjs +RUN groupadd -g 1001 -r nodejs +RUN useradd -u 1001 -r -g nodejs -s /bin/false -m nextjs COPY --from=builder /app/public ./public