@inetafrica/open-claudia 1.7.2 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +3 -2
- package/package.json +1 -1
package/Dockerfile
CHANGED
|
@@ -12,7 +12,8 @@ RUN curl -fsSL https://claude.ai/install.sh | sh || \
|
|
|
12
12
|
npm install -g @anthropic-ai/claude-code
|
|
13
13
|
|
|
14
14
|
# Create non-root user (Claude Code refuses --dangerously-skip-permissions as root)
|
|
15
|
-
|
|
15
|
+
# node:20-slim already has uid/gid 1000 (node user). Create claudia with different IDs.
|
|
16
|
+
RUN groupadd -g 1001 claudia && useradd -u 1001 -g 1001 -m -d /data claudia
|
|
16
17
|
|
|
17
18
|
# Create app directory
|
|
18
19
|
WORKDIR /app
|
|
@@ -41,7 +42,7 @@ VOLUME /data
|
|
|
41
42
|
EXPOSE 8080
|
|
42
43
|
|
|
43
44
|
# Switch to non-root user
|
|
44
|
-
USER
|
|
45
|
+
USER 1001
|
|
45
46
|
|
|
46
47
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
|
47
48
|
CMD ["node", "bin/cli.js", "web"]
|