Mercurial > code > home > repos > homeauto
diff 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 diff
--- a/service/dpms/Dockerfile.pi Mon Sep 27 23:04:36 2021 -0700 +++ b/service/dpms/Dockerfile.pi Mon Sep 27 23:05:30 2021 -0700 @@ -2,13 +2,12 @@ RUN apt-get install -y x11-xserver-utils COPY requirements.txt ./ -RUN pip install -r requirements.txt - -ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ -RUN tar xvzf more.tgz +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 [ "python", "./dpms_service.py" ] +CMD [ "python3", "./dpms_service.py" ]