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 @@ - +
- -For next steps, read the AWS CodePipeline Documentation.
-