FROM anchorxia/musev:latest #MAINTAINER 维护者信息 LABEL MAINTAINER="anchorxia, zhanchao" LABEL Email="anchorxia@tencent.com, zhanchao019@foxmail.com" LABEL Description="musev gradio image, from docker pull anchorxia/musev:latest" SHELL ["/bin/bash", "--login", "-c"] USER root RUN chown root:root -R /root RUN which python RUN pwd WORKDIR /root RUN pwd RUN ls -l RUN whoami RUN git clone -b deploy --recursive https://github.com/TMElyralab/MuseV.git 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 ENV PYTHONPATH=/root/MuseV:/root/MMCM:/root/diffusers/src:/root/controlnet_aux/src RUN echo "pythonpath" $PYTHONPATH RUN which python EXPOSE 7860 CMD ["/bin/bash", "-c", ". /opt/conda/etc/profile.d/conda.sh && conda activate musev && python app.py"]