Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -16,6 +16,7 @@ WORKDIR /my_codes/app
|
|
| 16 |
|
| 17 |
RUN mkdir CACHE && chmod -R 777 CACHE
|
| 18 |
ENV TRANSFORMERS_CACHE CACHE
|
|
|
|
| 19 |
|
| 20 |
# Run app.py when the container launches
|
| 21 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 16 |
|
| 17 |
RUN mkdir CACHE && chmod -R 777 CACHE
|
| 18 |
ENV TRANSFORMERS_CACHE CACHE
|
| 19 |
+
ENV NUMBA_CACHE_DIR CACHE
|
| 20 |
|
| 21 |
# Run app.py when the container launches
|
| 22 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|