>>105943183Step 1: Clone the Repository
git clone https://github.com/hexgrad/kokoro.git
cd kokoro
Step 2: Review Dockerfile (Provided)
The project already includes a Dockerfile. You can inspect or customize it as needed. By default, it uses Python and sets up kokoro via requirements.txt.
Step 3: Build the Docker Image
docker build -t kokoro .
If you want to use GPU (NVIDIA), ensure nvidia-docker is installed and base your image on a CUDA-enabled base if needed.
Step 4: Run the Container
Hereโs a basic way to run it:
docker run -it --rm -p 5000:5000 kokoro
This maps port 5000 inside the container (used by the Flask server) to your local machine.
If it doesn't start automatically, you can manually run:
python3 kokoro.py
Or if it's using flask directly:
flask run --host=0.0.0.0 --port=5000
Step 5: Access the Web UI
Open your browser and go to:
http://localhost:5000