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/giri.txt b/giri.txt new file mode 100644 index 000000000..9e7af5432 --- /dev/null +++ b/giri.txt @@ -0,0 +1,4 @@ +this is a new file +i have inserted something new line in this file +thank you +changes happen diff --git a/index.html b/index.html index d971cf9e0..e3923d08d 100644 --- a/index.html +++ b/index.html @@ -1,36 +1,57 @@ - +
- -For next steps, read the AWS CodePipeline Documentation.
-I am Girivelan and I have created the codepipeline using EC2 and has been successfully deployed.
+ Learn More +