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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -1,16 +1,13 @@
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
 
 
1
  FROM node:20-slim
2
 
 
3
  RUN apt-get update && apt-get install -y git python3 python3-pip && rm -rf /var/lib/apt/lists/*
4
 
5
+ # Tambah --break-system-packages biar lolos PEP 668
6
+ RUN pip3 install --no-cache-dir --break-system-packages huggingface_hub[cli]
7
 
 
8
  RUN npm install -g opencode-ai
9
 
10
  WORKDIR /workspace
 
11
  COPY start.sh /start.sh
12
  RUN chmod +x /start.sh
13