annotate service/mqtt_to_rdf/Dockerfile @ 798:cdc76c84e3e2

move conf into subdir
author drewp@bigasterisk.com
date Tue, 29 Dec 2020 21:05:32 -0800
parents 729ab70c6212
children e0e623c01a69
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
780
729ab70c6212 reformat, update build
drewp@bigasterisk.com
parents: 768
diff changeset
1 FROM bang5:5000/base_x86
718
edc14422f128 add rdf_from_mqtt, though at the moment the graph urls may not be in sync and the reqs have just been updated
drewp@bigasterisk.com
parents:
diff changeset
2
edc14422f128 add rdf_from_mqtt, though at the moment the graph urls may not be in sync and the reqs have just been updated
drewp@bigasterisk.com
parents:
diff changeset
3 WORKDIR /opt
edc14422f128 add rdf_from_mqtt, though at the moment the graph urls may not be in sync and the reqs have just been updated
drewp@bigasterisk.com
parents:
diff changeset
4
edc14422f128 add rdf_from_mqtt, though at the moment the graph urls may not be in sync and the reqs have just been updated
drewp@bigasterisk.com
parents:
diff changeset
5 COPY requirements.txt ./
768
c8763fc21a42 docker and build fixes
drewp@bigasterisk.com
parents: 733
diff changeset
6 RUN pip3 uninstall --yes enum34
c8763fc21a42 docker and build fixes
drewp@bigasterisk.com
parents: 733
diff changeset
7
718
edc14422f128 add rdf_from_mqtt, though at the moment the graph urls may not be in sync and the reqs have just been updated
drewp@bigasterisk.com
parents:
diff changeset
8 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
edc14422f128 add rdf_from_mqtt, though at the moment the graph urls may not be in sync and the reqs have just been updated
drewp@bigasterisk.com
parents:
diff changeset
9 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'
780
729ab70c6212 reformat, update build
drewp@bigasterisk.com
parents: 768
diff changeset
10 RUN pip3 install -U attrs
718
edc14422f128 add rdf_from_mqtt, though at the moment the graph urls may not be in sync and the reqs have just been updated
drewp@bigasterisk.com
parents:
diff changeset
11
798
cdc76c84e3e2 move conf into subdir
drewp@bigasterisk.com
parents: 780
diff changeset
12 COPY *.py *.html *.css *.js ./
cdc76c84e3e2 move conf into subdir
drewp@bigasterisk.com
parents: 780
diff changeset
13 COPY conf/ ./conf
733
9ca69f2be87b more mqtt_to_rdf renames. bring in basic LitElement setup for the debug page
drewp@bigasterisk.com
parents: 732
diff changeset
14 COPY build/bundle.js build/
718
edc14422f128 add rdf_from_mqtt, though at the moment the graph urls may not be in sync and the reqs have just been updated
drewp@bigasterisk.com
parents:
diff changeset
15
edc14422f128 add rdf_from_mqtt, though at the moment the graph urls may not be in sync and the reqs have just been updated
drewp@bigasterisk.com
parents:
diff changeset
16 EXPOSE 10018:10018
edc14422f128 add rdf_from_mqtt, though at the moment the graph urls may not be in sync and the reqs have just been updated
drewp@bigasterisk.com
parents:
diff changeset
17
733
9ca69f2be87b more mqtt_to_rdf renames. bring in basic LitElement setup for the debug page
drewp@bigasterisk.com
parents: 732
diff changeset
18 CMD [ "python3", "./mqtt_to_rdf.py" ]