mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 13:05:49 +00:00
Create Dockerfile
This commit is contained in:
parent
317562a170
commit
492d2c7968
1 changed files with 5 additions and 0 deletions
5
Dockerfile
Normal file
5
Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM openjdk:17-jdk-slim
|
||||
WORKDIR /root
|
||||
COPY target/*.jar app.jar
|
||||
EXPOSE 8086
|
||||
CMD ["sh", "-c", "java -jar /root/app.jar & sleep 3600"]
|
Loading…
Reference in a new issue