eaedk commited on
Commit
277e1a2
·
1 Parent(s): 30fe208

permission

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -11,7 +11,11 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
  COPY . .
13
 
14
- RUN mkdir -p ./cache
 
 
 
 
15
 
16
  # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
17
  CMD [ "python", "app.py" ]
 
11
 
12
  COPY . .
13
 
14
+ # RUN mkdir -p ./cache
15
+ ### Update permissions for the app
16
+ USER root
17
+ RUN chmod 777 $PWD
18
+ USER user
19
 
20
  # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
21
  CMD [ "python", "app.py" ]