home-assistant-addon/.devcontainer/Dockerfile

16 lines
323 B
Docker
Raw Normal View History

2022-11-10 09:53:02 +01:00
FROM ghcr.io/home-assistant/devcontainer:addons
RUN \
apt-get update \
&& apt-get install -y --no-install-recommends \
2023-09-11 02:25:16 +02:00
python3-pip \
python3-venv
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
2022-11-10 09:53:02 +01:00
COPY script/requirements.txt /
RUN pip install -r /requirements.txt