Devashishraghav commited on
Commit
99dd056
·
verified ·
1 Parent(s): 4a0e76c

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -13,12 +13,9 @@ ENV PATH="/home/user/.local/bin:$PATH"
13
 
14
  WORKDIR /app
15
 
16
- # Install Python dependencies in stages to avoid OOM
17
  COPY --chown=user requirements.txt .
18
- RUN pip install --no-cache-dir --user fastapi uvicorn python-multipart python-dotenv Pillow numpy
19
- RUN pip install --no-cache-dir --user opencv-contrib-python-headless
20
- RUN pip install --no-cache-dir --user rembg[cpu]
21
- RUN pip install --no-cache-dir --user google-genai
22
 
23
  # Copy application code
24
  COPY --chown=user . .
 
13
 
14
  WORKDIR /app
15
 
16
+ # Install Python dependencies
17
  COPY --chown=user requirements.txt .
18
+ RUN pip install --no-cache-dir --user -r requirements.txt
 
 
 
19
 
20
  # Copy application code
21
  COPY --chown=user . .