change to dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -7,4 +7,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 7 |
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 11 |
+
|
| 12 |
+
RUN mkdir -p /tmp/hf_home /tmp/hf_datasets_cache /tmp/cache \
|
| 13 |
+
&& chmod -R 777 /tmp/hf_home /tmp/hf_datasets_cache /tmp/cache
|