diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..c2250fc02 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,27 @@ +# # Use the official Nginx image as a base +# FROM nginx:1.25 + +# # Create a non-root user and switch to it +# RUN addgroup --system nginx && adduser --system --ingroup nginx nginx +# USER nginx + +# # Copy your custom configuration or HTML files if needed +# COPY --chown=nginx:nginx index.html /usr/share/nginx/html/ + +# # Expose port 80 +# EXPOSE 80 + +# # Start Nginx +# CMD ["nginx", "-g", "daemon off;"] + +# Use the official Nginx image as a base +FROM nginx:1.25 + +# Copy the index.html file to the default Nginx web directory +COPY index.html /usr/share/nginx/html/ + +# Expose port 80 +EXPOSE 80 + +# Start Nginx +CMD ["nginx", "-g", "daemon off;"] diff --git a/index.html b/index.html index d971cf9e0..58b8a20d7 100644 --- a/index.html +++ b/index.html @@ -1,36 +1,84 @@ - + - - Sample Deployment - + + + Interactive Deployment with Background Image + -
-

Congratulations!

-

You have successfully created a pipeline that retrieved this source application from an Amazon S3 bucket and deployed it - to three Amazon EC2 instances using AWS CodeDeploy.

-

For next steps, read the AWS CodePipeline Documentation.

-
+
+

Congratulations!

+

F019772 - Shanmugapriya

+

Successfully Deployment Final Assessment!

+

You have successfully created a pipeline that retrieved this source application from AWS Elastic Beanstalk and deployed it + to three Amazon EC2 instances using AWS CodeDeploy.

+ Read AWS CodePipeline Documentation +
diff --git a/new.text b/new.text new file mode 100644 index 000000000..8a2f59f4c --- /dev/null +++ b/new.text @@ -0,0 +1 @@ +Hello I am Priya