coincreator commited on
Commit
33e3366
·
verified ·
1 Parent(s): 9c0f4c2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -1,14 +1,16 @@
1
  FROM node:20-slim
2
 
3
- # Install deps
4
- RUN apt-get update && apt-get install -y git python3 huggingface-cli && rm -rf /var/lib/apt/lists/*
 
 
 
5
 
6
  # Install OpenCode
7
  RUN npm install -g opencode-ai
8
 
9
  WORKDIR /workspace
10
 
11
- # Copy script
12
  COPY start.sh /start.sh
13
  RUN chmod +x /start.sh
14
 
 
1
  FROM node:20-slim
2
 
3
+ # Install deps pake apt + pip
4
+ RUN apt-get update && apt-get install -y git python3 python3-pip && rm -rf /var/lib/apt/lists/*
5
+
6
+ # Install huggingface-cli pake pip
7
+ RUN pip3 install --no-cache-dir huggingface_hub[cli]
8
 
9
  # Install OpenCode
10
  RUN npm install -g opencode-ai
11
 
12
  WORKDIR /workspace
13
 
 
14
  COPY start.sh /start.sh
15
  RUN chmod +x /start.sh
16