From 60d5d51ecac2a7e53ab80c264ec9014c49e4a0f5 Mon Sep 17 00:00:00 2001 From: Norvicdev <101652762+Norvicdev@users.noreply.github.com> Date: Tue, 4 Aug 2026 16:48:56 +0300 Subject: [PATCH] changes that allows to see container on host pc --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 5d20a01..d1bd2c3 100644 --- a/main.py +++ b/main.py @@ -9,4 +9,5 @@ def hello_world(): # put application's code here if __name__ == '__main__': - app.run() + # host='0.0.0.0' для доступа извне контейнера + app.run(host='0.0.0.0', port=5000, debug=False) \ No newline at end of file