From bbc3e94a7e2ccecaa7cc750cf516ec13d8cb269c Mon Sep 17 00:00:00 2001 From: root Date: Sat, 29 Jul 2023 21:34:33 -0500 Subject: [PATCH] fixed dockerfile --- .devcontainer/Dockerfile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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