mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 01:15:50 +00:00
Create Dockerfile
added docker file
This commit is contained in:
parent
992ea96d52
commit
3243c3f69e
1 changed files with 6 additions and 0 deletions
6
Dockerfile
Normal file
6
Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue