FROM python:latest 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