From 0b14098e4cb6087fe941283b55cba3d19d71a10e Mon Sep 17 00:00:00 2001 From: bharathac5775 <118104583+bharathac5775@users.noreply.github.com> Date: Fri, 29 Nov 2024 10:04:38 +0530 Subject: [PATCH] Create Dockerfile --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..53261aa --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM ubuntu:latest + +RUN apt-get update -y && apt-get install -y apache2 +RUN apt-get install -y php libapache2-mod-php + +ADD . /var/www/html/ +EXPOSE 80 +ENTRYPOINT apachectl -D FOREGROUND