Spaces:
Running
on
Zero
Running
on
Zero
Dockerfile to cpu
Browse files- Dockerfile +4 -2
- desktop.ini +4 -0
Dockerfile
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
# CUDA 12.1ベースのUbuntuイメージを使用
|
2 |
-
FROM nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04
|
|
|
3 |
|
4 |
# 環境変数の設定
|
5 |
ENV DEBIAN_FRONTEND=noninteractive
|
@@ -42,4 +43,5 @@ USER appuser
|
|
42 |
|
43 |
EXPOSE 80
|
44 |
|
45 |
-
CMD ["python", "app.py", "--use_gpu"]
|
|
|
|
1 |
# CUDA 12.1ベースのUbuntuイメージを使用
|
2 |
+
# FROM nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04
|
3 |
+
FROM ubuntu:20.04
|
4 |
|
5 |
# 環境変数の設定
|
6 |
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
43 |
|
44 |
EXPOSE 80
|
45 |
|
46 |
+
# CMD ["python", "app.py", "--use_gpu"]
|
47 |
+
CMD ["python", "app.py"]
|
desktop.ini
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[ViewState]
|
2 |
+
Mode=
|
3 |
+
Vid=
|
4 |
+
FolderType=Documents
|