anchor commited on
Commit
c1aebb2
1 Parent(s): b56256d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -6
Dockerfile CHANGED
@@ -7,12 +7,16 @@ LABEL Description="musev gradio image, from docker pull anchorxia/musev:latest"
7
 
8
  SHELL ["/bin/bash", "--login", "-c"]
9
 
10
- USER root
11
- RUN chown root:root -R /root
 
12
 
13
  WORKDIR /root
14
 
15
  RUN git clone -b deploy --recursive https://github.com/TMElyralab/MuseV.git
 
 
 
16
 
17
  RUN chmod -R 777 /root/MuseV
18
 
@@ -21,9 +25,10 @@ RUN . /opt/conda/etc/profile.d/conda.sh \
21
  && conda env list \
22
  && pip install cuid gradio huggingface_hub
23
 
24
- RUN mv /root/MuseV/scripts /
25
- RUN mkdir /checkpoints
26
- WORKDIR /scripts/gradio
 
27
 
28
  RUN ls -l \
29
  && ls -l ..\
@@ -37,7 +42,6 @@ RUN ls -l \
37
  COPY entrypoint.sh /scripts/gradio/entrypoint.sh
38
  RUN chmod +x /scripts/gradio/entrypoint.sh
39
 
40
- RUN which python
41
  EXPOSE 7860
42
 
43
  # Set entrypoint
 
7
 
8
  SHELL ["/bin/bash", "--login", "-c"]
9
 
10
+ RUN echo "docker start"\
11
+ && whoami \
12
+ && which python
13
 
14
  WORKDIR /root
15
 
16
  RUN git clone -b deploy --recursive https://github.com/TMElyralab/MuseV.git
17
+ RUN mkdir ./MuseV/checkpoints \
18
+ && ls -l ./MuseV \
19
+ && WORKDIR ./MuseV/scripts/gradio
20
 
21
  RUN chmod -R 777 /root/MuseV
22
 
 
25
  && conda env list \
26
  && pip install cuid gradio huggingface_hub
27
 
28
+ # RUN mv /root/MuseV/scripts /
29
+ # RUN mkdir /checkpoints
30
+ # WORKDIR /scripts/gradio
31
+
32
 
33
  RUN ls -l \
34
  && ls -l ..\
 
42
  COPY entrypoint.sh /scripts/gradio/entrypoint.sh
43
  RUN chmod +x /scripts/gradio/entrypoint.sh
44
 
 
45
  EXPOSE 7860
46
 
47
  # Set entrypoint