Initial commit
This commit is contained in:
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
||||
FROM node:20-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git \
|
||||
curl \
|
||||
wget \
|
||||
jq \
|
||||
netcat-openbsd \
|
||||
socat \
|
||||
iputils-ping \
|
||||
iproute2 \
|
||||
dnsutils \
|
||||
python3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ARG UID=1000
|
||||
ARG GID=1000
|
||||
|
||||
RUN npm install -g @anthropic-ai/claude-code
|
||||
|
||||
RUN groupmod -g $GID node && usermod -u $UID -g $GID -l claude node && usermod -d /home/claude -m claude
|
||||
USER claude
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
CMD ["claude"]
|
||||
Reference in New Issue
Block a user