Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Image main TAG not working #2619

Open
rginard opened this issue Dec 9, 2024 · 2 comments
Open

Docker Image main TAG not working #2619

rginard opened this issue Dec 9, 2024 · 2 comments

Comments

@rginard
Copy link

rginard commented Dec 9, 2024

It seems that there is a problem in the Docker image,

When run the command

docker run -it --rm \ -v path/to/models:/models \ whisper.cpp:main "./main -m /models/ggml-base.bin -f ./samples/jfk.wav"

the ./main file does not exists.

@mschroeder-fzj
Copy link

The binary is available in /app/build/bin/main.
Instead of ./main ..., either /app/build/bin/main ... or ./build/bin/main can be used.

Maybe adding the binary to PATH in the Dockerfile could help prevent this issue in the future:
RUN cp /app/build/bin/main /usr/bin/whispercpp

@rginard
Copy link
Author

rginard commented Dec 10, 2024

The binary is available in /app/build/bin/main. Instead of ./main ..., either /app/build/bin/main ... or ./build/bin/main can be used.

Maybe adding the binary to PATH in the Dockerfile could help prevent this issue in the future: RUN cp /app/build/bin/main /usr/bin/whispercpp

Thank you! That seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants