view service/mqtt_to_rdf/Dockerfile @ 1706:2085ed9cfcc4

reworking UI to reflect the new inferencing code
author drewp@bigasterisk.com
date Sat, 23 Oct 2021 13:22:40 -0700
parents 8f7f7ca65ed4
children 8d2c75a93d82
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 index.html ./

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