miike-ai commited on
Commit
961a1ab
·
verified ·
1 Parent(s): 56be2fd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -6,7 +6,7 @@ ENV HOME=/root
6
 
7
  # Install dependencies, code-server, and Ollama
8
  RUN apt-get update && \
9
- apt-get install -y curl wget gpg apt-transport-https git nodejs npm python3 python3-pip software-properties-common && \
10
  # Add Python 3.12
11
  add-apt-repository ppa:deadsnakes/ppa && \
12
  apt-get update && \
@@ -18,11 +18,17 @@ RUN apt-get update && \
18
  curl -sS https://bootstrap.pypa.io/get-pip.py | python3.12 && \
19
  # Upgrade pip
20
  python3 -m pip install --upgrade pip && \
 
 
 
21
  # Install code-server
22
  curl -fsSL https://code-server.dev/install.sh | sh && \
23
  apt-get clean && \
24
  rm -rf /var/lib/apt/lists/*
25
 
 
 
 
26
  # Create a directory for the workspace
27
  RUN mkdir -p /workspace
28
 
 
6
 
7
  # Install dependencies, code-server, and Ollama
8
  RUN apt-get update && \
9
+ apt-get install -y curl wget gpg apt-transport-https git software-properties-common && \
10
  # Add Python 3.12
11
  add-apt-repository ppa:deadsnakes/ppa && \
12
  apt-get update && \
 
18
  curl -sS https://bootstrap.pypa.io/get-pip.py | python3.12 && \
19
  # Upgrade pip
20
  python3 -m pip install --upgrade pip && \
21
+ # Install Node.js 22.x from NodeSource
22
+ curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
23
+ apt-get install -y nodejs && \
24
  # Install code-server
25
  curl -fsSL https://code-server.dev/install.sh | sh && \
26
  apt-get clean && \
27
  rm -rf /var/lib/apt/lists/*
28
 
29
+ # Install global npm packages
30
+ RUN npm install -g @anthropic-ai/claude-code @anthropic-ai/dxt
31
+
32
  # Create a directory for the workspace
33
  RUN mkdir -p /workspace
34