diff --git a/docker/ppanel-user-web/Dockerfile b/docker/ppanel-user-web/Dockerfile index d01cb49..a54338d 100644 --- a/docker/ppanel-user-web/Dockerfile +++ b/docker/ppanel-user-web/Dockerfile @@ -5,7 +5,7 @@ FROM oven/bun:latest AS base WORKDIR /app # Create non-root user and set permissions -RUN addgroup -r -g 1001 nodejs && \ +RUN groupadd -r -g 1001 nodejs && \ useradd -r -u 1001 -g nodejs -d /home/nextjs -m nextjs # Copy build output and static files @@ -22,4 +22,4 @@ USER nextjs ENV NEXT_TELEMETRY_DISABLED=1 # Default command to start the server -CMD ["bun", "apps/user/server.js"] \ No newline at end of file +CMD ["bun", "apps/user/server.js"]