view service/wifi/Dockerfile @ 1384:a29a55f3429c

mqtt_graph_bridge to new build rules and to py3 Ignore-this: 1a064e89a2016ed583c1d4c9bbfd6f7c darcs-hash:b40c5fcff313002f6468e7a94a2059f1dd5dd97c
author drewp <drewp@bigasterisk.com>
date Thu, 09 May 2019 22:31:04 -0700
parents b287950fbcf4
children 517cbb905d4c
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

RUN apt-get install -y libxml2-dev libxslt1-dev

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 --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -U 'https://github.com/drewp/cyclone/archive/python3.zip?v2'

COPY *.py *.n3 *.html ./

EXPOSE 9070

CMD [ "python3", "wifi.py" ]