From 088f0601cad8c49db1f5766ce9ce7b600e2f47d6 Mon Sep 17 00:00:00 2001 From: Rohan Rustagi <110477025+RohanRusta21@users.noreply.github.com> Date: Sun, 26 Nov 2023 12:18:45 +0000 Subject: [PATCH] "Added Dockefile to dockerized and host on nginx" --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1a0a33c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM ubuntu +MAINTAINER label="Rohan Rustagi" +RUN apt update -y +RUN apt install nginx -y +COPY . /var/www/html +EXPOSE 80 +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file