Creates a docker image that runs the piper http service found in this repo: https://github.com/rhasspy/piper
- Download repo via git clone or direct download
- Navigate to the folder where the Dockerfile is
- Run
docker build -t piper .
to create the image - Use
docker run --name piper -p 5000:5000 piper
to run your own image
If you don't want to build your own image you can also use my image on docker hub (English voice example):
docker run -e MODEL_DOWNLOAD_LINK=https://huggingface.co/rhasspy/piper-voices/resolve/v1.0.0/en/en_US/kusal/medium/en_US-kusal-medium.onnx?download=true --name piper -p 5000:5000 artibex/piper-http
See image on docker hub for more information: https://hub.docker.com/r/artibex/piper-http