add docker

This commit is contained in:
2024-08-08 17:24:48 +08:00
parent 042800721d
commit ed1e51fefa
2 changed files with 29 additions and 0 deletions

10
start-docker.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
docker run -d --name whisper-fastapi \
--restart unless-stopped \
--name whisper-fastapi \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--gpus all \
-p 5000:5000 \
docker.io/heimoshuiyu/whisper-fastapi:lastet \
--model large-v2