change dockerfile command

This commit is contained in:
2025-01-14 12:11:38 +01:00
parent 3232ff121f
commit 56ac9cf687

View File

@@ -14,5 +14,5 @@ EXPOSE 5000
CMD ["python", "web/app.py"] CMD ["python", "web/app.py"]
#build instruction: sudo docker buildx build -t flaskapp:latest . #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 # need to use network host to connect to the host's mqtt server