Spaces:
Build error
Build error
Upload Dockerfile with huggingface_hub
Browse files- 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
|
| 17 |
COPY --chown=user requirements.txt .
|
| 18 |
-
RUN pip install --no-cache-dir --user
|
| 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 . .
|