Spaces:
Runtime error
Runtime error
anchor
commited on
Update Dockerfile
Browse files- Dockerfile +5 -15
Dockerfile
CHANGED
@@ -16,27 +16,17 @@ WORKDIR /root
|
|
16 |
RUN git clone -b deploy --recursive https://github.com/TMElyralab/MuseV.git
|
17 |
RUN mkdir ./MuseV/checkpoints \
|
18 |
&& ls -l ./MuseV
|
19 |
-
|
20 |
RUN chmod -R 777 /root/MuseV
|
21 |
|
22 |
RUN . /opt/conda/etc/profile.d/conda.sh \
|
23 |
&& conda activate musev \
|
24 |
-
&& conda env list
|
25 |
-
&& pip install cuid gradio huggingface_hub
|
26 |
-
|
27 |
-
RUN mv /root/MuseV/scripts/gradio/* ./ \
|
28 |
-
&& mv /root/MuseV/musev ./ \
|
29 |
-
&& mv /root/MuseV/MMCM/mmcm ./ \
|
30 |
-
&& mv /root/MuseV/diffusers/src/diffusers ./ \
|
31 |
-
&& mv /root/MuseV/controlnet_aux/src/controlnet_aux ./ \
|
32 |
-
&& ls -l ./
|
33 |
|
|
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
RUN chmod +x ./entrypoint.sh
|
38 |
|
39 |
EXPOSE 7860
|
40 |
|
41 |
-
|
42 |
-
ENTRYPOINT ["./entrypoint.sh"]
|
|
|
16 |
RUN git clone -b deploy --recursive https://github.com/TMElyralab/MuseV.git
|
17 |
RUN mkdir ./MuseV/checkpoints \
|
18 |
&& ls -l ./MuseV
|
|
|
19 |
RUN chmod -R 777 /root/MuseV
|
20 |
|
21 |
RUN . /opt/conda/etc/profile.d/conda.sh \
|
22 |
&& conda activate musev \
|
23 |
+
&& conda env list
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
+
RUN echo "export PYTHONPATH=\${PYTHONPATH}:/root/MuseV:/root/MuseV/MMCM:/root/MuseV/diffusers/src:/root/MuseV/controlnet_aux/src" >> ~/.bashrc
|
26 |
|
27 |
+
WORKDIR /root/MuseV/scripts/gradio/
|
28 |
+
RUN ls -l ./
|
|
|
29 |
|
30 |
EXPOSE 7860
|
31 |
|
32 |
+
CMD ["/bin/bash", "-c", "python app.py"]
|
|