1
0
mirror of https://github.com/JarvyJ/HomeIntent.git synced 2022-02-11 01:01:05 +03:00
Files
homeIntent-rhasspy-integrat…/Dockerfile.rhasspy-external
Jarvy Jarvison 9152792ac4 GitHub Action: Support Caching for faster builds (#124)
* Update docker-publish.yml

* started script to generate dockerfiles

* autogenerated the dockerfiles

* new and improved dockerignore

closes #122
2021-10-13 11:06:35 -05:00

37 lines
726 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 python:3.7-slim
WORKDIR /usr/src/app
ENV PYTHONUNBUFFERED=1
ENV PATH="/venv/bin:$PATH"
RUN pip3 install --no-cache-dir supervisor
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 [ "supervisord", "--configuration", "/usr/src/app/setup/supervisord.conf" ]