Kaan commited on
Commit
74c66ca
·
verified ·
1 Parent(s): 8c69006

update dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -8,4 +8,8 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  COPY . .
10
 
11
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
 
8
 
9
  COPY . .
10
 
11
+ # Create the cache directory with appropriate permissions
12
+ RUN mkdir -p /.cache
13
+ RUN chmod -R 777 /.cache
14
+
15
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]