From 795d113dc73767f81d85731cc4af8d6378ef4d73 Mon Sep 17 00:00:00 2001 From: Ilamvazhuthi Mathivanan Date: Tue, 15 Aug 2023 20:28:41 +0530 Subject: [PATCH] Added docker file --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5345f1b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ + +# Use the official Nginx image as a base +FROM nginx:alpine + +# Copy the static content to the Nginx web directory +COPY index.html /usr/share/nginx/html/ +COPY styles.css /usr/share/nginx/html/ +COPY scripts.js /usr/share/nginx/html/ + +# Expose port 80 (default HTTP port) +EXPOSE 80 + +# Command to start the Nginx server +CMD ["nginx", "-g", "daemon off;"]