comparison service/frontDoorLock/Dockerfile @ 563:7f57d171d6d3

py3 and new build Ignore-this: 69cf69e5d43adfa65b3f62c5c0af2014
author drewp@bigasterisk.com
date Wed, 01 May 2019 00:30:54 -0700
parents 67cebf7a14de
children 437d7263b515
comparison
equal deleted inserted replaced
562:82e9480c3b7d 563:7f57d171d6d3
1 FROM bang6:5000/base_x86 1 FROM bang6:5000/base_x86
2 2
3 WORKDIR /opt 3 WORKDIR /opt
4 4
5 COPY requirements.txt ./ 5 COPY requirements.txt ./
6 RUN pip install -r requirements.txt 6 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
7 # not sure why this doesn't work from inside requirements.txt
8 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'
7 9
8 COPY *.py *.html *.css *.js ./ 10 COPY *.py *.html *.css *.js ./
9 11
10 EXPOSE 10011:10011 12 EXPOSE 10011:10011
11 13
12 CMD [ "python", "./front_door_lock.py" ] 14 CMD [ "python3", "./front_door_lock.py" ]