Task:
- Create a Git folder in $HOME
- Open it with VSCode
- Clone the repo into VSCode
- Create a DockerFile with Ngnix and Html
- Install hadolint VSCode extention (you'll need to run
brew install hadolint
after installing the extension) and test it - Make sure your image is buildable:
docker build .
- Make sure you can start a container:
run docker build . docker images docker run -d -p (port 8080)(image ID)
localhost:80
, the default nginx page should show up
- Create an ECR repo manually in AWS
- Create an ECR repo with Terraform in a new Git repo (ex. tf-ecr)