mirror of
https://github.com/TaterTotterson/microWakeWord-Trainer-Nvidia-Docker.git
synced 2026-08-12 07:55:33 -06:00
Release NVIDIA WakeWord Trainer v22
This commit is contained in:
@@ -6,7 +6,8 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||
# System deps
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
python3.12 python3.12-venv python3.12-dev python3-pip python-is-python3 \
|
||||
git wget curl unzip patch ninja-build ca-certificates nano less libgomp1 \
|
||||
git wget curl unzip patch ninja-build build-essential cmake pkg-config \
|
||||
ca-certificates nano less libgomp1 ffmpeg sox libsox-fmt-all libsndfile1 espeak-ng \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& mkdir -p /data
|
||||
|
||||
@@ -27,14 +28,16 @@ COPY --chown=root:root --chmod=0755 \
|
||||
requirements.txt \
|
||||
/root/mww-scripts/
|
||||
|
||||
COPY --chown=root:root --chmod=0644 tts_config.py /root/mww-scripts/tts_config.py
|
||||
|
||||
# CLI folder
|
||||
COPY --chown=root:root cli/ /root/mww-scripts/cli/
|
||||
|
||||
# Make all CLI scripts executable (avoids "Permission denied")
|
||||
RUN chmod -R a+x /root/mww-scripts/cli
|
||||
|
||||
# Static UI for trainer
|
||||
COPY --chown=root:root --chmod=0644 static/index.html /root/mww-scripts/static/index.html
|
||||
# Prebuilt Vue/TypeScript UI (Node.js is not required at runtime)
|
||||
COPY --chown=root:root static/ /root/mww-scripts/static/
|
||||
|
||||
# trainer server
|
||||
CMD ["/bin/bash", "-lc", "/root/mww-scripts/run.sh"]
|
||||
|
||||
Reference in New Issue
Block a user