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.')