changes that allows to see container on host pc
This commit is contained in:
parent
ae54f81717
commit
60d5d51eca
1 changed files with 2 additions and 1 deletions
3
main.py
3
main.py
|
|
@ -9,4 +9,5 @@ def hello_world(): # put application's code here
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.run()
|
# host='0.0.0.0' для доступа извне контейнера
|
||||||
|
app.run(host='0.0.0.0', port=5000, debug=False)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue