File size: 852 Bytes
a39fb62
 
 
 
 
 
 
 
 
c1aebb2
 
 
a39fb62
 
 
 
c1aebb2
420529f
9d6cfe7
 
a39fb62
 
40ece0d
c1aebb2
40ece0d
75edd5d
40ece0d
 
a39fb62
 
 
40ece0d
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
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"]

RUN echo "docker start"\ 
  && whoami \
  && which python

WORKDIR /root

RUN git clone -b deploy --recursive https://github.com/TMElyralab/MuseV.git
RUN mkdir ./MuseV/checkpoints \
  && ls -l ./MuseV
RUN chmod -R 777 /root/MuseV

RUN . /opt/conda/etc/profile.d/conda.sh  \
    && conda activate musev \
    && conda env list

RUN echo "export PYTHONPATH=\${PYTHONPATH}:/root/MuseV:/root/MuseV/MMCM:/root/MuseV/diffusers/src:/root/MuseV/controlnet_aux/src" >> ~/.bashrc

WORKDIR /root/MuseV/scripts/gradio/
RUN ls -l  ./

EXPOSE 7860

CMD ["/bin/bash", "-c", "python app.py"]