view Dockerfile @ 0:e40034f22c69

moved from pimscreen, upgrade to py3. Redo google auth. Ignore-this: 43ada92a0639d288ca76e5486f6fa489
author drewp@bigasterisk.com
date Tue, 25 Jun 2019 17:08:27 -0700
parents
children 1e281ead081a
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

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 --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -U 'https://github.com/drewp/cyclone/archive/python3.zip?v2'

COPY gcalendarwatch *.credentials *.conf *.html *.json *.dat ./

EXPOSE 9105

CMD [ "python3", "gcalendarwatch" ]