Skip to content

Instantly share code, notes, and snippets.

@Colk-tech
Last active June 15, 2024 14:36
Show Gist options
  • Save Colk-tech/8e599665a5d171df65f45263dd93a9c1 to your computer and use it in GitHub Desktop.
Save Colk-tech/8e599665a5d171df65f45263dd93a9c1 to your computer and use it in GitHub Desktop.
FROM python:3.11
ARG WORKDIR="/work"
ARG SO_VITS_SVC_REPO="https://github.com/svc-develop-team/so-vits-svc.git"
# Set the working directory
RUN mkdir -p $WORKDIR
WORKDIR $WORKDIR
# Clone the repository
RUN git clone $SO_VITS_SVC_REPO
WORKDIR $WORKDIR/so-vits-svc
# Install the dependencies
RUN apt-get update && \
apt-get install -y cmake libsndfile1 && \
apt-get autoremove -y && \
apt-get clean
RUN pip install --no-cache-dir -r requirements.txt
# Run the application
CMD ["python", "webUI.py"]
# Expose the port
EXPOSE 7860
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment