|
FROM anchorxia/musev:latest |
|
|
|
|
|
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"] |
|
|