view service/frontDoorLock/Dockerfile @ 748:6d84cd3eb277

rename to s/sse//; use new browse link Ignore-this: 912ae9ed9ffe9270445837f9a7308b5
author drewp@bigasterisk.com
date Thu, 13 Feb 2020 10:21:05 -0800
parents 7f57d171d6d3
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" ]