mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 16:25:49 +00:00
Create Dockerfile
This commit is contained in:
parent
0e671ee97c
commit
9abc930921
1 changed files with 6 additions and 0 deletions
6
Dockerfile
Normal file
6
Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
|||
FROM eclipse-temurin:17.0.6_10-jre-alpine
|
||||
|
||||
RUN mkdir /opt/app
|
||||
COPY ./build/*.jar /opt/app/app.jar
|
||||
|
||||
CMD ["java", "-jar", "/opt/app/app.jar"]
|
Loading…
Reference in a new issue