From 99e3d5234685a2eca611fc657dd3abd30f2bd732 Mon Sep 17 00:00:00 2001 From: harish343 Date: Tue, 30 May 2023 20:39:36 +0530 Subject: [PATCH] added dockerfile --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..90770f10 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +# Used a lightweight web server as the base image +FROM nginx:alpine + +# Copy the static website files to the appropriate directory +COPY . /usr/share/nginx/html + +# Expose the default HTTP port +EXPOSE 80 + +# Start the web server +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file