added NGINX

This commit is contained in:
sridhar 2023-09-06 17:52:23 +05:30
parent 670fe30eea
commit 5c7722f517

View file

@ -1,6 +1,7 @@
FROM ubuntu:22.04 FROM ubuntu:22.04
RUN apt update && apt install git -y RUN apt update && apt install git -y
RUN apt-get install openjdk-17-jdk -y RUN apt-get install nginx -y
RUN git clone https://github.com/Cloud-and-devops-notes/spring-petclinic-jenkins.git # RUN git clone https://github.com/Cloud-and-devops-notes/spring-petclinic-jenkins.git
RUN cd spring-petclinic-jenkins # RUN cd spring-petclinic-jenkins
EXPOSE 80
CMD ["sleep","1d"] CMD ["sleep","1d"]