view service/wifi/Dockerfile @ 1513:c829df2b0dd5

new graph output for browsers, with autorefresh Ignore-this: e4ff4dbed311b238d90988a1891ef640 darcs-hash:ba19d0d8975104ec6a3580e50cf8b7ca7745abdc
author drewp <drewp@bigasterisk.com>
date Mon, 03 Feb 2020 23:47:23 -0800
parents 32d134dbfb1e
children
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 *.js  ./
COPY build/ ./build

EXPOSE 9070

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