fix: remove patch step from Dockerfile (build context is just ai/)
This commit is contained in:
@@ -53,10 +53,6 @@ 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