switch to python 3.12

This commit is contained in:
Stefan Allius
2023-10-09 22:21:00 +02:00
parent c7bf3f2e44
commit 97f426269f
2 changed files with 3 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ ARG GID=1000
#
# first stage for our base image
FROM python:3.11-alpine AS base
FROM python:3.12-alpine AS base
USER root
RUN apk update && \

View File

@@ -64,7 +64,8 @@ if __name__ == "__main__":
# read config file
Config.read()
loop = asyncio.get_event_loop()
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
# call Mqtt singleton to establisch the connection to the mqtt broker
mqtt = Mqtt()