Spaces:
Sleeping
Sleeping
Commit ·
fac3e1f
1
Parent(s): 8c5f27f
Server Deployment
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -8,4 +8,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
|
|
|
|
|
|
|
| 11 |
CMD ["uvicorn","main:model","--host", "0.0.0.0", "--port", "80"]
|
|
|
|
| 8 |
|
| 9 |
COPY . .
|
| 10 |
|
| 11 |
+
RUN chmod u+rwx /path_to_cache_directory
|
| 12 |
+
|
| 13 |
CMD ["uvicorn","main:model","--host", "0.0.0.0", "--port", "80"]
|