Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -20,4 +20,8 @@ RUN /home/hf/fastsdcpu/install.sh || { exit 0; }
|
|
20 |
ENV TRANSFORMERS_CACHE /home/hf/.cache
|
21 |
ENV HF_HOME /home/hf/.cache
|
22 |
|
|
|
|
|
|
|
|
|
23 |
CMD ["./start-webui.sh"]
|
|
|
20 |
ENV TRANSFORMERS_CACHE /home/hf/.cache
|
21 |
ENV HF_HOME /home/hf/.cache
|
22 |
|
23 |
+
RUN mkdir -p /home/hf/.cache/hub
|
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 |
CMD ["./start-webui.sh"]
|