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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -24,6 +24,10 @@ ENV HF_HOME /tmp
24
  #RUN chown -R hf /home/hf/.cache && chown -R hf /home/hf/fastsdcpu
25
  #RUN chmod a+rwx /home/hf/.cache/hub && chmod a+rwx /home/hf/fastsdcpu/ && chmod a+rwx /home/hf/fastsdcpu/configs/
26
 
 
 
 
27
  RUN chown -R hf /home/hf/fastsdcpu && chmod a+rwx /home/hf/fastsdcpu/ && chmod a+rwx /home/hf/fastsdcpu/configs/
 
28
 
29
- CMD ["./start-webui.sh"]
 
24
  #RUN chown -R hf /home/hf/.cache && chown -R hf /home/hf/fastsdcpu
25
  #RUN chmod a+rwx /home/hf/.cache/hub && chmod a+rwx /home/hf/fastsdcpu/ && chmod a+rwx /home/hf/fastsdcpu/configs/
26
 
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"]