view service/frontDoorLock/Dockerfile @ 1440:2e9361f233f2

typo in piNode config Ignore-this: 22a04ddff35fe67f3e94aa84f69e54cb darcs-hash:90e04e96cbc8d47214d5de9f6b28eb866c53bcde
author drewp <drewp@bigasterisk.com>
date Mon, 12 Aug 2019 10:07:57 -0700
parents 5836e88a0287
children 437d7263b515
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 -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'

COPY *.py *.html *.css *.js ./

EXPOSE 10011:10011

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