Mercurial > code > home > repos > homeauto
view service/mqtt_to_rdf/Dockerfile @ 780:729ab70c6212
reformat, update build
author | drewp@bigasterisk.com |
---|---|
date | Sat, 08 Aug 2020 15:06:22 -0700 |
parents | c8763fc21a42 |
children | cdc76c84e3e2 |
line wrap: on
line source
FROM bang5:5000/base_x86 WORKDIR /opt COPY requirements.txt ./ 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' RUN pip3 install -U attrs COPY *.py *.html *.css *.js *.n3 ./ COPY build/bundle.js build/ EXPOSE 10018:10018 CMD [ "python3", "./mqtt_to_rdf.py" ]