view service/frontDoorLock/Dockerfile @ 1712:6ee9a1c5a991

update deps; code fixes; add skaffold
author drewp@bigasterisk.com
date Sun, 12 Dec 2021 22:03:28 -0800
parents 437d7263b515
children
line wrap: on
line source

FROM bang5:5000/base_basic

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'
RUN pip3 install -U attrs

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

EXPOSE 10011:10011

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