Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -12,4 +12,8 @@ WORKDIR /code/fastsdcpu
|
|
| 12 |
RUN chmod a+x install.sh && chmod a+x start-webui.sh
|
| 13 |
RUN /code/fastsdcpu/install.sh || { exit 0; }
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
RUN chmod a+x install.sh && chmod a+x start-webui.sh
|
| 13 |
RUN /code/fastsdcpu/install.sh || { exit 0; }
|
| 14 |
|
| 15 |
+
RUN apt-get install -y sudo
|
| 16 |
+
RUN useradd -rm -d /home/hf -s /bin/bash -g root -G sudo -u 1001 hf
|
| 17 |
+
USER hf
|
| 18 |
+
|
| 19 |
+
CMD ["sudo", "./start-webui.sh"]
|