Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -18,7 +18,7 @@ COPY . /app
|
|
| 18 |
|
| 19 |
# ✅ Install your app dependencies
|
| 20 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 21 |
-
pip install --no-cache-dir fastapi uvicorn transformers pillow langchain langsmith
|
| 22 |
|
| 23 |
# Use /tmp as Hugging Face cache (prevents write permission issues)
|
| 24 |
ENV HF_HOME=/tmp/huggingface_cache
|
|
@@ -27,4 +27,4 @@ ENV HF_HOME=/tmp/huggingface_cache
|
|
| 27 |
EXPOSE 7860
|
| 28 |
|
| 29 |
# ✅ Start FastAPI
|
| 30 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 18 |
|
| 19 |
# ✅ Install your app dependencies
|
| 20 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 21 |
+
pip install --no-cache-dir fastapi uvicorn transformers pillow langchain langsmith python-multipart
|
| 22 |
|
| 23 |
# Use /tmp as Hugging Face cache (prevents write permission issues)
|
| 24 |
ENV HF_HOME=/tmp/huggingface_cache
|
|
|
|
| 27 |
EXPOSE 7860
|
| 28 |
|
| 29 |
# ✅ Start FastAPI
|
| 30 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|