1,182
社区成员




git clone https://github.com/jordan-barrett-jm/MeloTTS.git 下载的源码中存在Dockerfile
z00443407@llvm:~/source/MeloTTS$ cat Dockerfile
FROM python:3.9-slim
WORKDIR /app
COPY . /appRUN apt-get update && apt-get install -y \
build-essential libsndfile1 \
&& rm -rf /var/lib/apt/lists/*RUN pip install -e .
RUN python -m unidic download
RUN python melo/init_downloads.pyCMD ["python", "./melo/app.py", "--host", "0.0.0.0", "--port", "8888"]
本想使用 sudo docker build -t tts -f Dockerfile . 制作一个容器镜像,但提示出错
Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection