view service/mqtt_to_rdf/Dockerfile @ 1664:1a7c1261302c

logic fix- some bindings were being returned 2+; some 0 times
author drewp@bigasterisk.com
date Mon, 20 Sep 2021 23:19:08 -0700
parents b0608eb6e90c
children 8f7f7ca65ed4
line wrap: on
line source

FROM bang5:5000/base_basic

WORKDIR /opt

RUN echo 2021-08-26 && apt-get update
RUN apt-get install -y git
COPY requirements.txt ./
RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt

COPY package.json5 pnpm-lock.yaml  ./
RUN pnpm install

COPY tsconfig.json rollup.config.js ./
COPY src/ ./src
RUN pnpm build

COPY *.py *.html ./
COPY conf/ ./conf

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