Docker EC2
Steps
- Deploy an EC2 Instance
- Install Docker onto that instance
- Create SSH Key
- Add that the key to Github
- Git pull using that key
- Docker build
Installing Docker onto EC2
Github: Generating SSH Keys
Useful Commands
docker build . -t='dok/name:latest'
docker run -p 80:80 -d -t dok/name:latest