view service/mqtt_to_rdf/Dockerfile @ 1693:0455a1e18e4f

really rough fix to a broken test. hopefully this gets redone
author drewp@bigasterisk.com
date Sat, 25 Sep 2021 22:20:42 -0700
parents 8f7f7ca65ed4
children 2085ed9cfcc4
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 ./

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