Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -7
Dockerfile
CHANGED
@@ -11,18 +11,17 @@ RUN ln -s /usr/bin/python3 /usr/bin/python
|
|
11 |
# リポジトリをクローン
|
12 |
WORKDIR /app
|
13 |
|
14 |
-
RUN mkdir -p ~/.cache/pip
|
15 |
-
RUN chmod 777 ~/.cache/pip
|
16 |
-
|
17 |
-
RUN mkdir -p ~/.local
|
18 |
-
RUN chmod 777 ~/.local
|
19 |
-
|
20 |
-
|
21 |
RUN git config --global --add safe.directory /app
|
22 |
|
23 |
# app.py をコンテナにコピー
|
24 |
COPY . .
|
25 |
RUN export COMMANDLINE_ARGS="--skip-torch-cuda-test"
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
# WebUIの起動(app.pyを実行)
|
27 |
WORKDIR /app/stable-diffusion-webui-forge
|
28 |
CMD ["python3", "launch.py", "--share", "--disable-torch-cuda", "--skip-torch-cuda-test"]
|
|
|
11 |
# リポジトリをクローン
|
12 |
WORKDIR /app
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
RUN git config --global --add safe.directory /app
|
15 |
|
16 |
# app.py をコンテナにコピー
|
17 |
COPY . .
|
18 |
RUN export COMMANDLINE_ARGS="--skip-torch-cuda-test"
|
19 |
+
|
20 |
+
RUN mkdir -p ~/.cache/pip
|
21 |
+
RUN chmod 777 ~/.cache/pip
|
22 |
+
|
23 |
+
RUN mkdir -p ~/.local
|
24 |
+
RUN chmod 777 ~/.local
|
25 |
# WebUIの起動(app.pyを実行)
|
26 |
WORKDIR /app/stable-diffusion-webui-forge
|
27 |
CMD ["python3", "launch.py", "--share", "--disable-torch-cuda", "--skip-torch-cuda-test"]
|