diff --git a/admin-core/Dockerfile b/admin-core/Dockerfile index 08ee6c8..66ac6c4 100644 --- a/admin-core/Dockerfile +++ b/admin-core/Dockerfile @@ -30,8 +30,8 @@ WORKDIR /app ENV NODE_ENV=production # Create non-root user -RUN addgroup --system --gid 1001 nodejs -RUN adduser --system --uid 1001 nextjs +RUN addgroup -S -g 1001 nodejs +RUN adduser -S -u 1001 -G nodejs nextjs # Copy built assets COPY --from=builder /app/public ./public