switch to python 3.12
This commit is contained in:
@@ -4,7 +4,7 @@ ARG GID=1000
|
|||||||
|
|
||||||
#
|
#
|
||||||
# first stage for our base image
|
# first stage for our base image
|
||||||
FROM python:3.11-alpine AS base
|
FROM python:3.12-alpine AS base
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
|
|||||||
@@ -64,7 +64,8 @@ if __name__ == "__main__":
|
|||||||
# read config file
|
# read config file
|
||||||
Config.read()
|
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
|
# call Mqtt singleton to establisch the connection to the mqtt broker
|
||||||
mqtt = Mqtt()
|
mqtt = Mqtt()
|
||||||
|
|||||||
Reference in New Issue
Block a user