Kaan commited on
Commit
b605b59
·
verified ·
1 Parent(s): ac2091a

Update Dockerfile

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