-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
litongjava
committed
Apr 26, 2024
1 parent
56733c1
commit 3b2085e
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM litongjava/whisper-cpp-server:1.0.0 | ||
|
||
COPY models/ggml-medium-q5_0.bin /app/models/ | ||
|
||
EXPOSE 8080 | ||
|
||
CMD ["/app/whisper_http_server_base_httplib", "-m", "/app/models/ggml-medium-q5_0.bin"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
```shell | ||
docker build -t litongjava/whisper-cpp-server:1.0.0-medium-q5_0 -f distribute/docker/medium-q5_0/Dockerfile . | ||
``` | ||
|
||
``` | ||
docker run -dit --name whisper-server -p 8080:8080 litongjava/whisper-cpp-server:1.0.0-medium-q5_0 | ||
``` |