Dockerfile 505 B

123456789101112131415161718192021
  1. FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime
  2. RUN apt update
  3. RUN apt install -y build-essential
  4. RUN pip install -U pip setuptools wheel
  5. RUN pip install -U so-vits-svc-fork click
  6. RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y ffmpeg
  7. COPY ./vocal-remover/ /vocal-remover/
  8. ENV NUMBA_CACHE_DIR=/tmp
  9. RUN cd /vocal-remover && pip install -r requirements.txt
  10. ENV HF_HOME=/data/cache
  11. ENV MPLCONFIGDIR=/data/cache
  12. WORKDIR /
  13. COPY ./app/ /app/
  14. USER 1000:1000
  15. ENTRYPOINT [ "/app/run.sh" ]