lemonteaa commited on
Commit
87e97b6
1 Parent(s): 434aa65

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -27,7 +27,10 @@ ENV HF_HOME /tmp
27
  COPY ./launch.py /home/hf/fastsdcpu/src/launch.py
28
  COPY ./mystart.sh /home/hf/fastsdcpu/mystart.sh
29
 
 
30
  RUN chown -R hf /home/hf/fastsdcpu && chmod a+rwx /home/hf/fastsdcpu/ && chmod a+rwx /home/hf/fastsdcpu/configs/
31
  RUN chmod a+x /home/hf/fastsdcpu/mystart.sh
32
 
 
 
33
  CMD ["./mystart.sh"]
 
27
  COPY ./launch.py /home/hf/fastsdcpu/src/launch.py
28
  COPY ./mystart.sh /home/hf/fastsdcpu/mystart.sh
29
 
30
+ USER root
31
  RUN chown -R hf /home/hf/fastsdcpu && chmod a+rwx /home/hf/fastsdcpu/ && chmod a+rwx /home/hf/fastsdcpu/configs/
32
  RUN chmod a+x /home/hf/fastsdcpu/mystart.sh
33
 
34
+ USER hf
35
+
36
  CMD ["./mystart.sh"]