mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
add Dockerfile
This commit is contained in:
parent
bf8ec19b03
commit
8bb1423d1a
1 changed files with 5 additions and 0 deletions
5
Dockerfile
Normal file
5
Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
FROM openjdk:17
|
||||||
|
ARG JAR_FILE=build/libs/app.jar
|
||||||
|
COPY ${JAR_FILE} ./app.jar
|
||||||
|
ENV TZ=Asia/Seoul
|
||||||
|
ENTRYPOINT ["java", "-jar", "./app.jar"]
|
Loading…
Reference in a new issue