File size: 1,073 Bytes
a39fb62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d6cfe7
 
a39fb62
 
 
 
 
8301cdf
a39fb62
8301cdf
75edd5d
765d35e
 
ad5a212
 
 
 
 
a39fb62
c42f217
 
 
a39fb62
 
 
 
c42f217
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FROM anchorxia/musev:latest

#MAINTAINER 维护者信息
LABEL MAINTAINER="anchorxia, zhanchao"
LABEL Email="[email protected], [email protected]"
LABEL Description="musev gradio image, from docker pull anchorxia/musev:latest"

SHELL ["/bin/bash", "--login", "-c"]

USER root
RUN chown root:root -R /root

WORKDIR /root

RUN git clone -b deploy --recursive https://github.com/TMElyralab/MuseV.git

RUN chmod -R 777 /root/MuseV

RUN . /opt/conda/etc/profile.d/conda.sh  \
    && conda activate musev \
    && conda env list \
    && pip install cuid gradio huggingface_hub

RUN mv /root/MuseV/scripts /
RUN mkdir /checkpoints
WORKDIR /scripts/gradio

RUN  ls -l \
  && ls -l ..\
  && ls -l ../../root\
  && ls -l ../../root/MuseV\
  && ls -l ../../root/MuseV/MMCM\
  && ls -l ../../root/MuseV/diffusers/src\
  && ls -l ../../root/MuseV/controlnet_aux/src

# Add entrypoint script
COPY entrypoint.sh /scripts/gradio/entrypoint.sh
RUN chmod +x /scripts/gradio/entrypoint.sh

RUN which python
EXPOSE 7860

# Set entrypoint
ENTRYPOINT ["/scripts/gradio/entrypoint.sh"]