fixed dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user