Files
ad-nix/.devcontainer/Dockerfile
John Lancaster 92fa257829 added pip cache
2023-04-20 23:49:31 -05:00

13 lines
323 B
Docker
Executable File

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