annotate service/mqtt_to_rdf/Dockerfile @ 1724:8d2c75a93d82

use pdm (these are new deps)
author drewp@bigasterisk.com
date Tue, 20 Jun 2023 23:13:09 -0700
parents 2085ed9cfcc4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1577
6ddc5e037f15 big fixes and rewrites. emitting rdf works, not influx export yet
drewp@bigasterisk.com
parents: 799
diff changeset
1 FROM bang5:5000/base_basic
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
1724
8d2c75a93d82 use pdm (these are new deps)
drewp@bigasterisk.com
parents: 1706
diff changeset
5 COPY pyproject.toml pdm.lock ./
8d2c75a93d82 use pdm (these are new deps)
drewp@bigasterisk.com
parents: 1706
diff changeset
6 RUN pdm install
799
e0e623c01a69 ts build is part of docker now; new web debug console
drewp@bigasterisk.com
parents: 798
diff changeset
7
e0e623c01a69 ts build is part of docker now; new web debug console
drewp@bigasterisk.com
parents: 798
diff changeset
8 COPY package.json5 pnpm-lock.yaml ./
e0e623c01a69 ts build is part of docker now; new web debug console
drewp@bigasterisk.com
parents: 798
diff changeset
9 RUN pnpm install
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
10
799
e0e623c01a69 ts build is part of docker now; new web debug console
drewp@bigasterisk.com
parents: 798
diff changeset
11 COPY tsconfig.json rollup.config.js ./
e0e623c01a69 ts build is part of docker now; new web debug console
drewp@bigasterisk.com
parents: 798
diff changeset
12 COPY src/ ./src
e0e623c01a69 ts build is part of docker now; new web debug console
drewp@bigasterisk.com
parents: 798
diff changeset
13 RUN pnpm 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
14
1706
2085ed9cfcc4 reworking UI to reflect the new inferencing code
drewp@bigasterisk.com
parents: 1689
diff changeset
15 COPY *.py index.html ./
799
e0e623c01a69 ts build is part of docker now; new web debug console
drewp@bigasterisk.com
parents: 798
diff changeset
16
1689
8f7f7ca65ed4 don't deploy config files; mount them in so i can edit
drewp@bigasterisk.com
parents: 1583
diff changeset
17 CMD [ "python3", "./mqtt_to_rdf.py", "-v", "--cs=rules" ]