view service/mqtt_graph_bridge/Dockerfile @ 581:30022797642e

mqtt_graph_bridge to new build rules and to py3 Ignore-this: 1a064e89a2016ed583c1d4c9bbfd6f7c
author drewp@bigasterisk.com
date Thu, 09 May 2019 22:31:04 -0700
parents 2158e7ad19b1
children
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

COPY requirements.txt ./
RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'

COPY *.py *.html *.css *.js ./

EXPOSE 10011:10011

CMD [ "python3", "./mqtt_graph_bridge.py" ]