diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 9d96081..445601d 100755 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,12 +1,10 @@ -FROM python:latest +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 useradd --system --uid 1000 --create-home appdaemon -# USER appdaemon - RUN --mount=type=cache,target=/root/.cache/pip pip install -r ${CONF}/requirements.txt -RUN pip install git+https://github.com/AppDaemon/appdaemon@dev