Spaces:
Runtime error
Runtime error
| 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 \ | |
| && pip install cuid gradio huggingface_hub | |
| RUN mv /root/MuseV/scripts/gradio/* ./ \ | |
| && mv /root/MuseV/musev ./ \ | |
| && mv /root/MuseV/MMCM/mmcm ./ \ | |
| && mv /root/MuseV/diffusers/src/diffusers ./ \ | |
| && mv /root/MuseV/controlnet_aux/src/controlnet_aux ./ \ | |
| && ls -l ./ | |
| # Add entrypoint script | |
| COPY entrypoint.sh ./entrypoint.sh | |
| RUN chmod +x ./entrypoint.sh | |
| EXPOSE 7860 | |
| # Set entrypoint | |
| ENTRYPOINT ["./entrypoint.sh"] |