Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
ChenyuRabbitLove
commited on
Update Dockerfile
Browse files- 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=
|
21 |
-
git clone https://
|
|
|
|
|
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 |
|