jasongzy commited on
Commit
600c49f
Β·
1 Parent(s): a62fbfe

🐞 fix: change data path

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -20,18 +20,18 @@ RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
20
  git config --global url.https://jasongzy:$(cat /run/secrets/HF_TOKEN)@huggingface.co/.insteadOf https://huggingface.co/ && \
21
  git lfs install && \
22
  git clone https://huggingface.co/jasongzy/Make-It-Animatable model && \
23
- GIT_LFS_SKIP_SMUDGE=1 git clone --recursive https://huggingface.co/datasets/jasongzy/Mixamo && \
24
  cd Mixamo && \
25
  git lfs pull -I animation && \
26
- git lfs pull -I bones.fbx && \
27
- git lfs pull -I bones_vroid.fbx
28
 
29
  WORKDIR $HOME/app
30
 
31
- RUN mv ../model/data . && \
32
- mv ../model/output . && \
33
  rm -r ../model && \
34
- python -m pip install --upgrade pip && \
35
  pip install -r requirements-demo.txt
36
 
37
  CMD ["python", "app.py"]
 
20
  git config --global url.https://jasongzy:$(cat /run/secrets/HF_TOKEN)@huggingface.co/.insteadOf https://huggingface.co/ && \
21
  git lfs install && \
22
  git clone https://huggingface.co/jasongzy/Make-It-Animatable model && \
23
+ GIT_LFS_SKIP_SMUDGE=1 git clone --recursive https://huggingface.co/datasets/jasongzy/Mixamo Mixamo && \
24
  cd Mixamo && \
25
  git lfs pull -I animation && \
26
+ git lfs pull -I "bones*.fbx" && \
27
+ rm ~/.gitconfig
28
 
29
  WORKDIR $HOME/app
30
 
31
+ RUN mv ../model/data/* ./data/ && \
32
+ mv ../model/output/* ./output/ && \
33
  rm -r ../model && \
34
+ mv ../Mixamo ./data/ && \
35
  pip install -r requirements-demo.txt
36
 
37
  CMD ["python", "app.py"]