comparison service/rdf_to_mqtt/Dockerfile @ 1732:3f4b447d65f5

port to starlette/asyncio
author drewp@bigasterisk.com
date Mon, 10 Jul 2023 17:37:58 -0700
parents acf58b83022f
children 09df2b4b886f
comparison
equal deleted inserted replaced
1731:35abc7656f0f 1732:3f4b447d65f5
1 FROM bang5:5000/base_x86 1 FROM bang5:5000/base_basic
2 2
3 WORKDIR /opt 3 WORKDIR /opt
4 4
5 COPY requirements.txt ./ 5 COPY pdm.lock pyproject.toml ./
6 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt 6 RUN pdm sync
7 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'
8 RUN pip3 install -U attrs
9 7
10 COPY *.py *.html *.js ./ 8 COPY *.py *.html *.js ./
11 9
12 EXPOSE 10011:10011
13
14 CMD [ "python3", "./rdf_to_mqtt.py", "-v" ]