eaedk commited on
Commit
8dab4ad
1 Parent(s): 705e79b
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -11,11 +11,12 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
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:app", "--host", "0.0.0.0", "--port", "7860"]
21
  # 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
+ RUN chmod 777 /
19
+ USER user
20
 
21
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
22
  # CMD [ "python", "app.py" ]