mirror of
https://github.com/JarvyJ/HomeIntent.git
synced 2022-02-11 01:01:05 +03:00
* updated rhasspy to 2.5.11 * switching to UDP audio and adding unknown and cancel words for testing will eventually close #25 after testing
37 lines
657 B
Docker
37 lines
657 B
Docker
|
|
### NOTE: THIS FILE IS AUTOGENERATED FROM generate_dockerfiles.py ###
|
|
|
|
|
|
FROM python:3.7
|
|
WORKDIR /usr/src/app
|
|
|
|
ENV LANG=C.UTF-8
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
ENV PATH="/venv/bin:$PATH"
|
|
|
|
RUN python -m venv /venv --copies
|
|
COPY requirements.txt ./
|
|
RUN pip3 install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
|
FROM rhasspy/rhasspy:2.5.11
|
|
WORKDIR /usr/src/app
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
ENV PATH="/venv/bin:$PATH"
|
|
|
|
|
|
|
|
COPY --from=0 /venv /venv
|
|
COPY tmp/static/docs/site ./docs/site
|
|
COPY setup setup
|
|
COPY home_intent home_intent
|
|
COPY ui ui
|
|
COPY tmp/static/ui/frontend/build ./ui/frontend/build
|
|
|
|
ENTRYPOINT [ "bash", "/usr/src/app/setup/setup.sh" ]
|
|
|