generated from NeonGeckoCom/template-tts-plugin
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from NeonGeckoCom/dev
Docker Fixes and Automation
- Loading branch information
Showing
6 changed files
with
111 additions
and
56 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
FROM python:3.9-slim-bullseye AS compile-image | ||
|
||
RUN apt-get update -y && apt-get install -y python3-pip | ||
RUN apt-get update -y && apt-get install -y python3-pip git | ||
|
||
RUN pip3 install --user torch --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu | ||
|
||
RUN pip3 install --user neon-tts-plugin-coqui --no-cache-dir | ||
RUN pip3 install --user ovos-tts-server==0.0.2 --no-cache-dir | ||
COPY . /tmp/neon-tts-plugin-coqui | ||
RUN pip3 install --user /tmp/neon-tts-plugin-coqui --no-cache-dir | ||
|
||
RUN pip3 install --user git+https://github.com/OpenVoiceOS/ovos-tts-server@b9ee84c48ab6ab5655fffa032359752ab10d2c9d | ||
|
||
FROM python:3.9-slim-bullseye AS build-image | ||
|
||
RUN apt-get update -y && apt-get install -y --no-install-recommends espeak-ng | ||
COPY --from=compile-image /root/.local /root/.local | ||
ENV PATH=/root/.local/bin:$PATH | ||
|
||
ENTRYPOINT ovos-tts-server --engine neon-tts-plugin-coqui | ||
ENTRYPOINT ovos-tts-server --engine coqui |
This file contains 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
This file contains 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