From 4a6cc0da37315e35a2a08db19df83fbb2a4547f7 Mon Sep 17 00:00:00 2001 From: Christoph Sieber Date: Fri, 25 Mar 2022 16:08:54 +0100 Subject: [PATCH] update baseimage and make the frontend compatible to current library versions --- docker-nginx-rtmp/Dockerfile | 2 +- frontend/app/zomstream.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-nginx-rtmp/Dockerfile b/docker-nginx-rtmp/Dockerfile index 3af282c..506fbce 100644 --- a/docker-nginx-rtmp/Dockerfile +++ b/docker-nginx-rtmp/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:buster +FROM debian:bullseye MAINTAINER Chris VOLUME ["/usr/local/nginx/conf"] EXPOSE 8080 diff --git a/frontend/app/zomstream.py b/frontend/app/zomstream.py index 7e85224..520e08b 100644 --- a/frontend/app/zomstream.py +++ b/frontend/app/zomstream.py @@ -17,7 +17,7 @@ def __init__(self): # load configuration from config.yml file if pathlib.Path("config.yml").is_file(): stream = open('config.yml', 'r') - self.configuration = yaml.load(stream) + self.configuration = yaml.safe_load(stream) stream.close() else: print('missing configuration.')