view service/mqtt_to_rdf/Dockerfile @ 768:c8763fc21a42

docker and build fixes Ignore-this: c96190ad1270cbc133e5c9e3c8218cb8
author drewp@bigasterisk.com
date Sat, 02 May 2020 15:08:12 -0700
parents 9ca69f2be87b
children 729ab70c6212
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

COPY requirements.txt ./
RUN pip3 install -U pip
RUN pip3 uninstall --yes enum34

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 *.n3 ./
COPY build/bundle.js build/

EXPOSE 10018:10018

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