Containerizes application to run
NOTE: These commands were performed in Windows 10. They may or may not be different with Linux and MacOS.
# Stop in-use images
docker rm -vf $(docker ps -aq)
# Remove images
docker rmi -f $(docker images -aq)
# Checks docker version
docker -v
# Navigate to project
cd /path/to/project
# Build the Docker Image
docker build -t myimage:latest .
# Run Docker container
docker run -d --name mycontainer myimage:latest