Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -1,11 +1,13 @@
|
|
| 1 |
from python:3.11
|
|
|
|
| 2 |
run apt update -y && apt upgrade -y
|
| 3 |
copy . .
|
| 4 |
run git clone https://github.com/rupeshs/fastsdcpu
|
|
|
|
| 5 |
workdir fastsdcpu
|
| 6 |
run pip install --upgrade pip requests
|
| 7 |
run chmod +x install.sh
|
| 8 |
run python ../ci.py
|
| 9 |
-
run python ../dl.py
|
| 10 |
run python ../cfg.py
|
| 11 |
CMD bash ./start-webui.sh
|
|
|
|
| 1 |
from python:3.11
|
| 2 |
+
ARG token_civit
|
| 3 |
run apt update -y && apt upgrade -y
|
| 4 |
copy . .
|
| 5 |
run git clone https://github.com/rupeshs/fastsdcpu
|
| 6 |
+
run export
|
| 7 |
workdir fastsdcpu
|
| 8 |
run pip install --upgrade pip requests
|
| 9 |
run chmod +x install.sh
|
| 10 |
run python ../ci.py
|
| 11 |
+
run python ../dl.py $token_civit
|
| 12 |
run python ../cfg.py
|
| 13 |
CMD bash ./start-webui.sh
|