Spaces:
Sleeping
Sleeping
Commit ·
0cb6796
1
Parent(s): 227bccb
updated
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
|
@@ -11,9 +11,6 @@ RUN apt-get update && apt-get install -y \
|
|
| 11 |
COPY requirements.txt .
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
|
| 14 |
-
# Pre-download the embedding model so it's baked into the image
|
| 15 |
-
sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2')"
|
| 16 |
-
|
| 17 |
# Copy app files
|
| 18 |
COPY . .
|
| 19 |
|
|
@@ -25,4 +22,4 @@ ENV PYTHONUNBUFFERED=1
|
|
| 25 |
ENV FLASK_ENV=production
|
| 26 |
|
| 27 |
# Run with gunicorn
|
| 28 |
-
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "--timeout", "120", "app:app"]
|
|
|
|
| 11 |
COPY requirements.txt .
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
|
|
|
|
|
|
|
|
|
|
| 14 |
# Copy app files
|
| 15 |
COPY . .
|
| 16 |
|
|
|
|
| 22 |
ENV FLASK_ENV=production
|
| 23 |
|
| 24 |
# Run with gunicorn
|
| 25 |
+
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "--timeout", "120", "app:app"]
|