mahmoud611 commited on
Commit
ebd34d3
·
verified ·
1 Parent(s): e0ff97f

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -11,7 +11,10 @@ RUN apt-get update && apt-get install -y \
11
 
12
  WORKDIR /app
13
 
14
- # Install Python dependencies first (cached layer)
 
 
 
15
  COPY requirements.txt .
16
  RUN pip install --no-cache-dir -r requirements.txt
17
 
 
11
 
12
  WORKDIR /app
13
 
14
+ # Install CPU-only PyTorch first (~200MB vs ~2GB CUDA build)
15
+ RUN pip install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu
16
+
17
+ # Install remaining Python dependencies
18
  COPY requirements.txt .
19
  RUN pip install --no-cache-dir -r requirements.txt
20