sca255 commited on
Commit
d191fd5
1 Parent(s): 4db8e3f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -5,14 +5,16 @@ run apt update -y && apt upgrade -y
5
  RUN apt install -y libgl1-mesa-glx
6
  RUN apt install ffmpeg libsm6 libxext6 libglib2.0-0 -y
7
  copy . .
 
8
  run git clone https://github.com/rupeshs/fastsdcpu
9
- run export
10
- workdir fastsdcpu
 
11
  run pwd
12
  run pip install --upgrade pip requests
13
  run chmod +x install.sh
14
  run python ../ci.py
15
- RUN useradd -m -u 1000 user
16
  RUN mkdir /home/user/app
17
  RUN mkdir /home/user/app/fastsdcpu
18
  RUN --mount=type=secret,id=TOKEN,mode=0444,required=true \
 
5
  RUN apt install -y libgl1-mesa-glx
6
  RUN apt install ffmpeg libsm6 libxext6 libglib2.0-0 -y
7
  copy . .
8
+ RUN useradd -m -u 1000 user
9
  run git clone https://github.com/rupeshs/fastsdcpu
10
+ run chown user /fastsdcpu
11
+ user user
12
+ workdir /fastsdcpu
13
  run pwd
14
  run pip install --upgrade pip requests
15
  run chmod +x install.sh
16
  run python ../ci.py
17
+
18
  RUN mkdir /home/user/app
19
  RUN mkdir /home/user/app/fastsdcpu
20
  RUN --mount=type=secret,id=TOKEN,mode=0444,required=true \