-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (25 loc) · 897 Bytes
/
Dockerfile
File metadata and controls
30 lines (25 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Use Node.js LTS on Debian Trixie (slim variant for smaller image size)
FROM node:lts-trixie-slim
# Install system dependencies needed for development and VS Code devcontainer
# - git: version control (essential for most development workflows)
# - curl: downloading files and API calls
# - ca-certificates: SSL certificate validation
# - gnupg: GPG key management
RUN apt-get update && apt-get install -y \
git \
curl \
ca-certificates \
gnupg \
python3 \
python3-pip \
python3.13-venv \
&& rm -rf /var/lib/apt/lists/*
# Install Claude Code globally
# Using --no-fund and --no-audit flags to reduce installation noise
RUN npm install -g @anthropic-ai/claude-code --no-fund --no-audit
# Set the working directory
WORKDIR /workspace
# Verify Claude Code installation
RUN claude --version
# Keep container running for devcontainer usage
CMD ["sleep", "infinity"]