Files
ad-nix/Dockerfile.dev
2023-03-18 14:56:09 -05:00

15 lines
465 B
Docker
Executable File

FROM python:latest
ENV CONF=/conf
RUN mkdir $CONF
# COPY ./system_packages.txt ${CONF}
# RUN find $CONF -name system_packages.txt -type f -not -empty -exec cat {} \; -exec echo -n " " \; | tr '\n' ' ' | xargs -t --no-run-if-empty apk add
COPY ./requirements.txt ${CONF}
RUN find $CONF -name requirements.txt -type f -not -empty -exec pip3 install --upgrade -r {} \;
RUN pip install git+https://github.com/AppDaemon/appdaemon@dev
# CMD [ "bash" ]