mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-02-04 21:31:11 +00:00
Set up Dockerfile for Spring Petclinic application
Signed-off-by: Rahul Sharma <142473694+rahulsh01@users.noreply.github.com>
This commit is contained in:
parent
ab1d5364a0
commit
6c3bfa35a2
1 changed files with 5 additions and 0 deletions
5
Dockerfile
Normal file
5
Dockerfile
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
FROM eclipse-temurin:17-jdk-alpine
|
||||
WORKDIR /app
|
||||
COPY target/spring-petclinic-4.0.0-SNAPSHOT.jar app.jar
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue