view service/wifi/Dockerfile @ 1328:f372887aca73

add common imports to __init__.py Ignore-this: c19d0e57990318b04cb64fce5e5e2cad darcs-hash:6b36d52f52280990c92ff4c5c361fed6465d752d
author drewp <drewp@bigasterisk.com>
date Tue, 23 Apr 2019 02:10:55 -0700
parents 7de8f0cd3392
children b287950fbcf4
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 *.html ./

EXPOSE 9070

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