Docker container support#82
Open
Hadlock wants to merge 15 commits into
Open
Conversation
andreasntr
reviewed
Nov 29, 2025
|
|
||
| ### TL;TL;DR | ||
|
|
||
| - dockebuild . -t wakeword && docker r run -it --rm -p 8080:8080 -e MICROWAKEWORD_TRAIN_BATCH=256 localhost/wakeword -c "hey eyeball" |
gtjoseph
suggested changes
Dec 2, 2025
gtjoseph
left a comment
Contributor
There was a problem hiding this comment.
Thanks for this! I tried it on my Core i7-6950X and training only took about 20 minutes. The model was just a bit too big to load on a Home Assistant Voice PE so I'm tweaking it a bit.
| MICROWAKEWORD_VOICE_CONFIG_URL="https://huggingface.co/rhasspy/piper-voices/resolve/v1.0.0/en/en_US/lessac/medium/en_US-lessac-medium.onnx.json?download=true" | ||
|
|
||
| ENV MICROWAKEWORD_VOICE_MODEL="${MICROWAKEWORD_VOICE_DIR}/${MICROWAKEWORD_VOICE_MODEL_NAME}" \ | ||
| MICROWAKEWORD_VOICE_CONFIG="${MICROWAKEWORD_VOICE_MODEL}.json" |
Contributor
There was a problem hiding this comment.
You can't use MICROWAKEWORD_VOICE_MODEL here because it's in the same ENV statement that created it. The result is .json and it gets fetched into /app.
It needs to be...
ENV MICROWAKEWORD_VOICE_MODEL="${MICROWAKEWORD_VOICE_DIR}/${MICROWAKEWORD_VOICE_MODEL_NAME}"
ENV MICROWAKEWORD_VOICE_CONFIG="${MICROWAKEWORD_VOICE_MODEL}.json"
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.