# Each instruction in this file generates a new layer that gets pushed to your local image cache # The line below states we will base our new image on the Latest Official Ubuntu FROM ubuntu:latest # Identify the maintainer of an image LABEL version="0.0.1" LABEL maitainer="anshulc55@gmail.com" # Update the image to the latest packages RUN apt-get update && apt-get upgrade -y # Install NGINX to test. RUN apt-get install nginx -y # Expose port 80 EXPOSE 80 # Last is the actual command to start up NGINX within our Container CMD [ "nginx", "-g", "daemon off;"]