tortoise-tts
tortoise-tts copied to clipboard
Docker build not working
$ docker build . -t tts #0 building with "default" instance using docker driver
#1 [internal] load .dockerignore #1 transferring context: #1 transferring context: 2B done #1 DONE 0.2s
#2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 1.25kB done #2 DONE 0.2s Dockerfile:18
16 | ENV CONDA_AUTO_UPDATE_CONDA=false 17 | ENV PIP_DOWNLOAD_CACHE="$HOME/.pip/cache" 18 | >>> ENV TORTOISE_MODELS_DIR 19 | 20 | RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda3.sh \
ERROR: failed to solve: ENV must have two arguments
I have the same issue. Fresh install of docker.
So, the models dir is in tortoise-tts/build/lib/tortoise/models. You just need to add the path to the end of the line in dockerfile.
Change line 18 from:
ENV TORTOISE_MODELS_DIR
to
ENV TORTOISE_MODELS_DIR="$HOME/tortoise-tts/build/lib/tortoise/models"
Make sure to set the path to point to where your install is. Mine is in the default location for Windows, if you left yours at default, the line above should work just fine.
@ScienceofSpock's answer worked perfectly for me on ubuntu
Can you make pr and fix this ?
Isn't there a PR in the comment above mine?
i have the same problem .