From 5c7722f517308dcd580a37d4d8bd3b7cbb812fc2 Mon Sep 17 00:00:00 2001 From: sridhar Date: Wed, 6 Sep 2023 17:52:23 +0530 Subject: [PATCH] added NGINX --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5d9e5bdd4..11a2bfc78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM ubuntu:22.04 RUN apt update && apt install git -y -RUN apt-get install openjdk-17-jdk -y -RUN git clone https://github.com/Cloud-and-devops-notes/spring-petclinic-jenkins.git -RUN cd spring-petclinic-jenkins +RUN apt-get install nginx -y +# RUN git clone https://github.com/Cloud-and-devops-notes/spring-petclinic-jenkins.git +# RUN cd spring-petclinic-jenkins +EXPOSE 80 CMD ["sleep","1d"] \ No newline at end of file