|
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 \ |
|
&& WORKDIR ./MuseV/scripts/gradio |
|
|
|
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 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 |
|
|
|
|
|
COPY entrypoint.sh /scripts/gradio/entrypoint.sh |
|
RUN chmod +x /scripts/gradio/entrypoint.sh |
|
|
|
EXPOSE 7860 |
|
|
|
|
|
ENTRYPOINT ["/scripts/gradio/entrypoint.sh"] |