view service/dpms/Dockerfile.pi @ 1682:d6996175ea78

checkpoint service/dpms
author drewp@bigasterisk.com
date Mon, 27 Sep 2021 23:05:30 -0700
parents 8f5a16a55f64
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" ]