mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-02-04 21:31:11 +00:00
addded the docker file
This commit is contained in:
parent
ab1d5364a0
commit
9438ddd45b
8 changed files with 16 additions and 0 deletions
0
18c9cb0fe96f
Normal file
0
18c9cb0fe96f
Normal file
0
1d00d209bc23
Normal file
0
1d00d209bc23
Normal file
0
1ece8c75e43b
Normal file
0
1ece8c75e43b
Normal file
0
3e201c4b0492
Normal file
0
3e201c4b0492
Normal file
0
9422f9b87463
Normal file
0
9422f9b87463
Normal file
8
Dockerfile
Normal file
8
Dockerfile
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# use the light wight jdk 17 base image
|
||||
FROM eclipse-temurin:17-jdk-alpine
|
||||
# Set working directory inside the container
|
||||
|
||||
WORKDIR /app
|
||||
COPY target/spring-petclinic-4.0.0-SNAPSHOT.jar app.jar
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["java","-jar","app.jar"]
|
||||
8
Dockerfile1
Normal file
8
Dockerfile1
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# use the light wight jdk 17 base image
|
||||
FROM eclipse-temurin:17-jdk-alpine
|
||||
# Set working directory inside the container
|
||||
|
||||
WORKDIR /app
|
||||
COPY target/spring-petclinic-4.0.0-SNAPSHOT.jar app.jar
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["java","-jar","app.jar"]
|
||||
0
Using
Normal file
0
Using
Normal file
Loading…
Add table
Add a link
Reference in a new issue