ChenyuRabbitLove commited on
Commit
d52fdcb
·
verified ·
1 Parent(s): 3920996

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -17,8 +17,10 @@ ENV HOME=/home/user \
17
 
18
  WORKDIR $HOME/app
19
 
20
- RUN --mount=type=secret,id=GITHUB_PAT,mode=0444,required=true \
21
- git clone https://oauth2:$(cat /run/secrets/GITHUB_PAT)@github.com/junyiacademy/vaitor.git $HOME/app
 
 
22
 
23
  RUN pip install --no-cache-dir --upgrade -r $HOME/app/requirements.txt
24
 
 
17
 
18
  WORKDIR $HOME/app
19
 
20
+ RUN --mount=type=secret,id=HF_UAT,mode=0444,required=true \
21
+ git clone https://ChenyuRabbitLove:$(cat /run/secrets/HF_UAT)@huggingface.co/spaces/junyiacademy/vaitor.git
22
+
23
+ RUN mv $HOME/app/ai_diagnosis/* $HOME/app/ && rm -rf $HOME/app/ai_diagnosis
24
 
25
  RUN pip install --no-cache-dir --upgrade -r $HOME/app/requirements.txt
26