From 0a3d7cfce2286bd402549a5fa53e1a70b31acc49 Mon Sep 17 00:00:00 2001 From: TheOldGuy Date: Tue, 3 Sep 2024 03:23:27 +0000 Subject: [PATCH] Initial GPT Contribution --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..af5965e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +# Use the official lightweight Alpine Linux image +FROM nginx:alpine + +# Copy the website files to the default Nginx public directory +COPY ./index.html /usr/share/nginx/html/ +COPY ./background.jpg /usr/share/nginx/html/ + +# Expose port 80 to be accessible +EXPOSE 80 + +# Start Nginx when the container is run +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file