fix: remove patch step from Dockerfile (build context is just ai/)
This commit is contained in:
@@ -52,11 +52,7 @@ url = 'https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_US/norman/
|
|||||||
urllib.request.urlretrieve(url, base + '/en_US-norman-medium.onnx')
|
urllib.request.urlretrieve(url, base + '/en_US-norman-medium.onnx')
|
||||||
urllib.request.urlretrieve(url + '.json', base + '/en_US-norman-medium.onnx.json')
|
urllib.request.urlretrieve(url + '.json', base + '/en_US-norman-medium.onnx.json')
|
||||||
PYEOF
|
PYEOF
|
||||||
|
|
||||||
# ---------- Patch tts_tool.py: replace Edge TTS fallback with Piper ----------
|
|
||||||
COPY patch_tts_tool.py /tmp/patch_tts_tool.py
|
|
||||||
RUN /opt/hermes/.venv/bin/python3 /tmp/patch_tts_tool.py && rm /tmp/patch_tts_tool.py
|
|
||||||
|
|
||||||
# ---------- Runtime ----------
|
# ---------- Runtime ----------
|
||||||
ENV HERMES_HOME=/opt/data
|
ENV HERMES_HOME=/opt/data
|
||||||
ENV PATH="/opt/data/.local/bin:${PATH}"
|
ENV PATH="/opt/data/.local/bin:${PATH}"
|
||||||
|
|||||||
Reference in New Issue
Block a user