mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
Update Dockerfile
This commit is contained in:
parent
776d936404
commit
1cfd2755d3
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM openjdk:16-alpine3.13
|
FROM openjdk:16-alpine3.13
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY target/*.jar .
|
COPY /var/lib/jenkins/workspace/petpetpet_main/target/spring-petclinic-2.4.5.jar .
|
||||||
CMD [ "java", "-jar *.jar" ]
|
CMD [ "java" ]
|
||||||
|
ENTRYPOINT [ "-jar spring-petclinic-2.4.5.jar" ]
|
||||||
|
|
Loading…
Reference in a new issue