view service/dpms/Dockerfile.pi @ 1705:250f4c27d56f

less logging
author drewp@bigasterisk.com
date Sat, 23 Oct 2021 13:21:06 -0700
parents d6996175ea78
children
line wrap: on
line source

FROM bang6:5000/base_pi
RUN apt-get install -y x11-xserver-utils

COPY requirements.txt ./
RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
# not sure why this doesn't work from inside requirements.txt
RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'

COPY *.py ./

EXPOSE 9095

CMD [ "python3", "./dpms_service.py" ]