from python:3.11 | |
run apt update -y && apt upgrade -y | |
copy . . | |
run git clone https://github.com/rupeshs/fastsdcpu | |
run export | |
workdir fastsdcpu | |
run pip install --upgrade pip requests | |
run chmod +x install.sh | |
run python ../ci.py | |
RUN --mount=type=secret,id=TOKEN,mode=0444,required=true \ | |
python ../dl.py $(cat /run/secrets/TOKEN) | |
run python ../cfg.py | |
CMD bash ./start-webui.sh | |