Ansal commited on
Commit
97d87ed
·
1 Parent(s): 263020d

handle permissions

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -11,7 +11,9 @@ RUN chown -R user:user /code
11
 
12
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
13
 
14
- COPY --chown=user:user . /code
 
 
15
 
16
  EXPOSE 7860
17
 
 
11
 
12
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
13
 
14
+ USER root
15
+ RUN chmod 777 ~/code/*
16
+ USER user
17
 
18
  EXPOSE 7860
19