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