Spaces:
Sleeping
Sleeping
versionning with scipy
Browse files- Dockerfile +4 -1
- requirements.txt +1 -0
Dockerfile
CHANGED
|
@@ -8,7 +8,10 @@ ENV MODEL_URL="https://huggingface.co/Miroir/cc.fr.300.reduced/resolve/main/cc.f
|
|
| 8 |
WORKDIR /app
|
| 9 |
|
| 10 |
COPY --chown=user requirements.txt requirements.txt
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
COPY --chown=user . .
|
| 14 |
|
|
|
|
| 8 |
WORKDIR /app
|
| 9 |
|
| 10 |
COPY --chown=user requirements.txt requirements.txt
|
| 11 |
+
|
| 12 |
+
# Modified installation command with --no-cache-dir
|
| 13 |
+
RUN pip install --no-cache-dir --upgrade pip && \
|
| 14 |
+
pip install --no-cache-dir --upgrade -r requirements.txt
|
| 15 |
|
| 16 |
COPY --chown=user . .
|
| 17 |
|
requirements.txt
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
fastapi==0.104.1
|
| 2 |
uvicorn[standard]==0.24.0
|
| 3 |
numpy==1.24.3
|
|
|
|
| 4 |
gensim==4.3.2
|
| 5 |
python-dotenv==1.0.0
|
| 6 |
loguru==0.7.2
|
|
|
|
| 1 |
fastapi==0.104.1
|
| 2 |
uvicorn[standard]==0.24.0
|
| 3 |
numpy==1.24.3
|
| 4 |
+
scipy==1.10.1 # Added specific version
|
| 5 |
gensim==4.3.2
|
| 6 |
python-dotenv==1.0.0
|
| 7 |
loguru==0.7.2
|