Files
ad-nix/.devcontainer/Dockerfile
2023-07-29 21:34:33 -05:00

11 lines
397 B
Docker
Executable File

FROM python:3.10
# install order matters because of some weird dependency stuff with websocket-client
# install appdaemon first because it's versioning is more restrictive
RUN pip install git+https://github.com/AppDaemon/appdaemon@dev
ENV CONF=/conf
RUN mkdir $CONF
COPY ./requirements.txt ${CONF}
RUN --mount=type=cache,target=/root/.cache/pip pip install -r ${CONF}/requirements.txt