Bangstarlight-VITS2 / Dockerfile
Mahiruoshi's picture
Update Dockerfile
c65b2b0 verified
raw
history blame contribute delete
727 Bytes
# Dockerfile for BangDream-Bert-VITS2
# First explore the actual file structure after cloning
FROM registry.hf.space/mahiruoshi-bangstarlight:cpu-c35db50
# Switch to user
USER user
# Clone the repository and explore structure
RUN git clone https://huggingface.co/spaces/Mahiruoshi/Bangstarlight && \
cd Bangstarlight && \
git checkout 69fa06412d6483de81c4bc35a3d5b900ca1b531a
# Expose the port
EXPOSE 7860
# Set environment variables
ENV GRADIO_SERVER_NAME="0.0.0.0"
ENV GRADIO_SERVER_PORT=7860
# Explore the structure first, then run
CMD ["sh", "-c", "echo 'Files after clone:' && ls -la && echo 'Looking for app.py:' && find . -name 'app.py' -type f && echo 'Running app:' && cd Bangstarlight && python app.py"]