andevs commited on
Commit
2a28ca2
·
verified ·
1 Parent(s): b4e5f56

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -25,7 +25,7 @@ COPY requirements.txt .
25
  RUN pip install --no-cache-dir --upgrade pip && \
26
  pip install --no-cache-dir -r requirements.txt
27
 
28
- # Pre-download models during build (optional, speeds up first request)
29
  RUN python -c "from rembg import new_session; new_session('u2netp')" || true
30
 
31
  # Copy application code
 
25
  RUN pip install --no-cache-dir --upgrade pip && \
26
  pip install --no-cache-dir -r requirements.txt
27
 
28
+ # Pre-download the lightweight model during build (speeds up first request)
29
  RUN python -c "from rembg import new_session; new_session('u2netp')" || true
30
 
31
  # Copy application code