comparison 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
comparison
equal deleted inserted replaced
1681:9d074317e16a 1682:d6996175ea78
1 FROM bang6:5000/base_pi 1 FROM bang6:5000/base_pi
2 RUN apt-get install -y x11-xserver-utils 2 RUN apt-get install -y x11-xserver-utils
3 3
4 COPY requirements.txt ./ 4 COPY requirements.txt ./
5 RUN pip install -r requirements.txt 5 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
6 6 # not sure why this doesn't work from inside requirements.txt
7 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ 7 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'
8 RUN tar xvzf more.tgz
9 8
10 COPY *.py ./ 9 COPY *.py ./
11 10
12 EXPOSE 9095 11 EXPOSE 9095
13 12
14 CMD [ "python", "./dpms_service.py" ] 13 CMD [ "python3", "./dpms_service.py" ]