Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -4,8 +4,11 @@ WORKDIR /code
|
|
| 4 |
|
| 5 |
RUN apt-get update && apt-get install -y git
|
| 6 |
#RUN pip3 install torch==2.0.1 --index-url https://download.pytorch.org/whl/cpu
|
| 7 |
-
RUN git clone https://github.com/rupeshs/fastsdcpu && chmod a+x ./fastsdcpu/install.sh && chmod a+x ./fastsdcpu/start-webui.sh && /code/fastsdcpu/install.sh
|
|
|
|
|
|
|
| 8 |
|
| 9 |
WORKDIR /code/fastsdcpu
|
|
|
|
| 10 |
|
| 11 |
CMD ["./start-webui.sh"]
|
|
|
|
| 4 |
|
| 5 |
RUN apt-get update && apt-get install -y git
|
| 6 |
#RUN pip3 install torch==2.0.1 --index-url https://download.pytorch.org/whl/cpu
|
| 7 |
+
#RUN git clone https://github.com/rupeshs/fastsdcpu && chmod a+x ./fastsdcpu/install.sh && chmod a+x ./fastsdcpu/start-webui.sh && /code/fastsdcpu/install.sh
|
| 8 |
+
|
| 9 |
+
RUN git clone https://github.com/rupeshs/fastsdcpu
|
| 10 |
|
| 11 |
WORKDIR /code/fastsdcpu
|
| 12 |
+
RUN chmod a+x install.sh && chmod a+x start-webui.sh && /code/fastsdcpu/install.sh
|
| 13 |
|
| 14 |
CMD ["./start-webui.sh"]
|