view service/rdf_to_mqtt/Dockerfile @ 1714:4cbe3df8f48f

rewrite to use starlette/etc
author drewp@bigasterisk.com
date Sun, 24 Apr 2022 02:15:30 -0700
parents acf58b83022f
children 3f4b447d65f5
line wrap: on
line source

FROM bang5:5000/base_x86

WORKDIR /opt

COPY requirements.txt ./
RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'
RUN pip3 install -U attrs

COPY *.py *.html *.js ./

EXPOSE 10011:10011

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