sca255 commited on
Commit
c620806
·
verified ·
1 Parent(s): 92ebc68

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -9,6 +9,8 @@ workdir fastsdcpu
9
  run pip install --upgrade pip requests
10
  run chmod +x install.sh
11
  run python ../ci.py
 
 
12
  RUN --mount=type=secret,id=TOKEN,mode=0444,required=true \
13
  python ../dl.py $(cat /run/secrets/TOKEN)
14
  run python ../cfg.py
 
9
  run pip install --upgrade pip requests
10
  run chmod +x install.sh
11
  run python ../ci.py
12
+ RUN useradd -m -u 1000 app
13
+ RUN mkdir /home/user/app/fastsdcpu
14
  RUN --mount=type=secret,id=TOKEN,mode=0444,required=true \
15
  python ../dl.py $(cat /run/secrets/TOKEN)
16
  run python ../cfg.py