Create Dockerfile

added docker file
This commit is contained in:
SHAIK.SOHAIL 2023-03-15 14:29:24 +05:30 committed by GitHub
parent 992ea96d52
commit 3243c3f69e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
Dockerfile Normal file
View file

@ -0,0 +1,6 @@
FROM ubuntu:22.04
RUN apt update
RUN apt install openjdk-17-jdk wget -y
RUN wget https://springpetcli.s3.ap-southeast-2.amazonaws.com/spring-petclinic-3.0.0-SNAPSHOT.jar
EXPOSE 8080
CMD ["java", "-jar", "/spring-petclinic-3.0.0-SNAPSHOT.jar"]