diff --git a/src/Python/flask/Dockerfile b/src/Python/flask/Dockerfile index b888d56..385474e 100644 --- a/src/Python/flask/Dockerfile +++ b/src/Python/flask/Dockerfile @@ -14,5 +14,5 @@ EXPOSE 5000 CMD ["python", "web/app.py"] #build instruction: sudo docker buildx build -t flaskapp:latest . -#run instruction: sudo docker run --network="host" flaskapp:latest +#run instruction: sudo docker run --network="host" --restart=always flaskapp:latest # need to use network host to connect to the host's mqtt server \ No newline at end of file