Flask app to randomly suggest a type of content to review next
docker run --name advisor -p 80:5000 flask-content-advisor
Ensure Flask is installed and check the instructions for your operating system
export FLASK_APP=src/app.py
flask run
set FLASK_APP=src/app.py
flask run
An Azure Resource Manager template is included to provision a Linux virtual machine if you prefer to use a machine in the cloud for working with Docker. Enter the following commands bootstrap the machine:
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum makecache fast
sudo yum -y install docker-ce
sudo systemctl start docker