jmanhype commited on
Commit
ecd4f25
Β·
1 Parent(s): dc2cbea

Update Dockerfile to fix git config permissions

Browse files
Files changed (1) hide show
  1. scripts/gradio/Dockerfile +6 -7
scripts/gradio/Dockerfile CHANGED
@@ -20,18 +20,17 @@ ENV HOME=/home/user \
20
  # Set the working directory to the user's home directory
21
  WORKDIR $HOME/app
22
 
23
- # Configure git for the user
24
- RUN git config --global --add safe.directory /home/user/app \
25
- && git config --global --add safe.directory /home/user/app/MuseV \
26
- && git config --global user.email "[email protected]" \
27
- && git config --global user.name "jmanhype"
28
-
29
  RUN echo "docker start"\
30
  && whoami \
31
  && which python \
32
  && pwd
33
 
34
- RUN git clone -b hg_space --recursive https://github.com/TMElyralab/MuseV.git
 
 
 
 
 
35
  RUN chmod -R 777 /home/user/app/MuseV
36
 
37
  RUN . /opt/conda/etc/profile.d/conda.sh \
 
20
  # Set the working directory to the user's home directory
21
  WORKDIR $HOME/app
22
 
 
 
 
 
 
 
23
  RUN echo "docker start"\
24
  && whoami \
25
  && which python \
26
  && pwd
27
 
28
+ # Clone repository and configure git locally
29
+ RUN git clone -b hg_space --recursive https://github.com/TMElyralab/MuseV.git \
30
+ && cd MuseV \
31
+ && git config user.email "[email protected]" \
32
+ && git config user.name "jmanhype"
33
+
34
  RUN chmod -R 777 /home/user/app/MuseV
35
 
36
  RUN . /opt/conda/etc/profile.d/conda.sh \