Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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 ["./
|
|
|
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"]
|