view service/mqtt_to_rdf/Dockerfile @ 1570:56188eac38b5

docker and build fixes Ignore-this: c96190ad1270cbc133e5c9e3c8218cb8 darcs-hash:3611563f6a7e29fe1a429c544ec687279a567b5b
author drewp <drewp@bigasterisk.com>
date Sat, 02 May 2020 15:08:12 -0700
parents a598d2141587
children
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" ]