WavTTS_Inference / Dockerfile
chenxie95's picture
Add Hugging Face Space demo
c22768e verified
Raw History Blame Contribute Delete
777 Bytes
FROM pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel
USER root
ARG DEBIAN_FRONTEND=noninteractive
LABEL github_repo="https://github.com/cwx-worst-one/WavTTS"
RUN set -x \
&& apt-get update \
&& apt-get -y install wget curl man git less openssl libssl-dev unzip unar build-essential aria2 tmux vim \
&& apt-get install -y openssh-server sox libsox-fmt-all libsox-fmt-mp3 libsndfile1-dev ffmpeg \
&& apt-get install -y librdmacm1 libibumad3 librdmacm-dev libibverbs1 libibverbs-dev ibverbs-utils ibverbs-providers \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
WORKDIR /workspace/WavTTS
COPY . /workspace/WavTTS
RUN pip install -e . --no-cache-dir
ENV SHELL=/bin/bash
VOLUME /root/.cache/huggingface/hub/
EXPOSE 7860
WORKDIR /workspace/WavTTS