In this scenario, we were asked to use Nginx to deploy our website. We will pull the latest version of Nginx from the Docker registry. Next, we will create our Dockerfile & index.html file in the same directory. Finally, we’ll create a Docker container from our new image using the following command.

2m read timeFrom blog.devgenius.io
Post cover image
Table of contents
1| Create a Directory2| Pull Image from Registry3| Create Dockerfile & index.html4| Build Image from Dockerfile5| Create Docker Container6| Save & Push Container Data to AWS ECR
1 Comment

Sort: