Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -10
Dockerfile
CHANGED
|
@@ -7,16 +7,9 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
| 7 |
WORKDIR /app
|
| 8 |
|
| 9 |
COPY --chown=user requirements.txt .
|
| 10 |
-
RUN pip install --no-cache-dir
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
python-multipart==0.0.9 \
|
| 14 |
-
pydantic==2.7.1 \
|
| 15 |
-
torch==2.1.0 --index-url https://download.pytorch.org/whl/cpu \
|
| 16 |
-
torch-geometric==2.5.3 \
|
| 17 |
-
numpy==1.26.4 \
|
| 18 |
-
requests==2.31.0 \
|
| 19 |
-
transformers==4.40.0
|
| 20 |
|
| 21 |
COPY --chown=user . /app
|
| 22 |
|
|
|
|
| 7 |
WORKDIR /app
|
| 8 |
|
| 9 |
COPY --chown=user requirements.txt .
|
| 10 |
+
RUN pip install --no-cache-dir fastapi==0.111.0 "uvicorn[standard]==0.29.0" python-multipart==0.0.9 pydantic==2.7.1 numpy==1.26.4 requests==2.31.0 transformers==4.40.0
|
| 11 |
+
RUN pip install --no-cache-dir torch==2.1.0 --index-url https://download.pytorch.org/whl/cpu
|
| 12 |
+
RUN pip install --no-cache-dir torch-geometric==2.5.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
COPY --chown=user . /app
|
| 15 |
|