|
|
@ -3,7 +3,4 @@ |
|
|
|
sudo apt-get update |
|
|
|
sudo apt-get update |
|
|
|
sudo apt-get install -yq docker.io |
|
|
|
sudo apt-get install -yq docker.io |
|
|
|
sudo docker build --network=host -t flaskapp . |
|
|
|
sudo docker build --network=host -t flaskapp . |
|
|
|
sudo docker run -d -p 5000:5000 flaskapp:latest |
|
|
|
sudo docker run -d -p 5000:5000 flaskapp:latest |
|
|
|
#python3 -m pip install flask |
|
|
|
|
|
|
|
#python3 app.py >> log.txt 2>&1 & |
|
|
|
|
|
|
|
#nohup python3 -u ./app.py > output.log & |
|
|
|
|