Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -22,5 +22,8 @@ EXPOSE 7860
|
|
| 22 |
# Set env to disable numba caching (prevents UMAP error)
|
| 23 |
ENV NUMBA_DISABLE_JIT=1
|
| 24 |
|
|
|
|
|
|
|
|
|
|
| 25 |
# Run the FastAPI app with uvicorn
|
| 26 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 22 |
# Set env to disable numba caching (prevents UMAP error)
|
| 23 |
ENV NUMBA_DISABLE_JIT=1
|
| 24 |
|
| 25 |
+
# Disable cache (prevents UMAP error)
|
| 26 |
+
ENV NUMBA_DISABLE_CACHE=1
|
| 27 |
+
|
| 28 |
# Run the FastAPI app with uvicorn
|
| 29 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|