File size: 448 Bytes
46c55eb 73846cc 92ebc68 0d8a444 fa0ef0e 16ff2f4 d795ef2 16ff2f4 1b3b0d4 205a645 16ff2f4 b4a4e35 c620806 92ebc68 16ff2f4 0ce08d0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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 pwd
run pip install --upgrade pip requests
run chmod +x install.sh
run python ../ci.py
RUN useradd -m -u 1000 app
RUN mkdir /home/user/app/fastsdcpu
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
|