diff --git a/claude/Dockerfile b/claude/Dockerfile index 466933b..be509a0 100644 --- a/claude/Dockerfile +++ b/claude/Dockerfile @@ -11,9 +11,9 @@ RUN apk add --no-cache \ # Entrypoint used by the webui service (ttyd wrapping claude) COPY --chmod=755 webui-entrypoint.sh /usr/local/bin/webui-entrypoint.sh -# Create non-root user -RUN addgroup -g 1000 claude \ - && adduser -u 1000 -G claude -s /bin/bash -D claude +# Create non-root user (node:20-alpine reserves gid/uid 1000 for the node user) +RUN addgroup -g 1001 claude \ + && adduser -u 1001 -G claude -s /bin/bash -D claude # Install Claude Code globally (runs as root for npm -g, then drops) RUN npm install -g @anthropic-ai/claude-code