diff 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
line wrap: on
line diff
--- a/service/rdf_to_mqtt/Dockerfile	Fri Jun 30 22:11:06 2023 -0700
+++ b/service/rdf_to_mqtt/Dockerfile	Mon Jul 10 17:37:58 2023 -0700
@@ -1,14 +1,9 @@
-FROM bang5:5000/base_x86
+FROM bang5:5000/base_basic
 
 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 pdm.lock pyproject.toml ./
+RUN pdm sync
 
 COPY *.py *.html *.js ./
 
-EXPOSE 10011:10011
-
-CMD [ "python3", "./rdf_to_mqtt.py", "-v" ]