diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 99d519c..9d96081 100755 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,8 +3,10 @@ FROM python:latest ENV CONF=/conf RUN mkdir $CONF - COPY ./requirements.txt ${CONF} -RUN find $CONF -name requirements.txt -type f -not -empty -exec pip3 install --upgrade -r {} \; +# 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