Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
FROM cnstark/pytorch:2.0.1-py3.10.11-ubuntu22.04
|
2 |
|
3 |
-
RUN apt-get install -y
|
|
|
|
|
4 |
RUN useradd -rm -d /home/hf -s /bin/bash -g root -G sudo -u 1001 hf
|
5 |
USER hf
|
6 |
|
7 |
WORKDIR /home/hf
|
8 |
|
9 |
-
RUN sudo apt-get update && sudo apt-get install -y git
|
10 |
#RUN pip3 install torch==2.0.1 --index-url https://download.pytorch.org/whl/cpu
|
11 |
#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
|
12 |
|
|
|
1 |
FROM cnstark/pytorch:2.0.1-py3.10.11-ubuntu22.04
|
2 |
|
3 |
+
RUN apt-get update && apt-get install -y git
|
4 |
+
|
5 |
+
#RUN apt-get install -y sudo
|
6 |
RUN useradd -rm -d /home/hf -s /bin/bash -g root -G sudo -u 1001 hf
|
7 |
USER hf
|
8 |
|
9 |
WORKDIR /home/hf
|
10 |
|
|
|
11 |
#RUN pip3 install torch==2.0.1 --index-url https://download.pytorch.org/whl/cpu
|
12 |
#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
|
13 |
|