fastsdcpu / Dockerfile
sca255's picture
Update Dockerfile
1b3b0d4 verified
raw
history blame
448 Bytes
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