view service/wifi/Dockerfile @ 421:47d7dd31bb2c

port to py3 Ignore-this: e1a2e6bb730111e76f5a5dd2366d498a
author drewp@bigasterisk.com
date Sat, 30 Mar 2019 18:27:17 -0700
parents a530d9c5b280
children e0703c7824e9
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 -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?v2'

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

EXPOSE 9070

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