view service/frontDoorLock/Dockerfile @ 1366:5836e88a0287

py3 and new build Ignore-this: 69cf69e5d43adfa65b3f62c5c0af2014 darcs-hash:a82563e9bfce399590ffd2229d997b490c0b038d
author drewp <drewp@bigasterisk.com>
date Wed, 01 May 2019 00:30:54 -0700
parents c87e5c8eb8ab
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" ]