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
208eadb542
commit
7be3749e9b
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM openjdk:16-alpine3.13
|
FROM java:8
|
||||||
WORKDIR /app
|
WORKDIR /
|
||||||
COPY target/spring-petclinic-2.4.5.jar .
|
COPY target/spring-petclinic-2.4.5.jar .
|
||||||
CMD [ "java", "-jar spring-petclinic-2.4.5.jar" ]
|
EXPOSE 8080
|
||||||
|
CMD [ "java", "-jar", "spring-petclinic-2.4.5.jar" ]
|
||||||
|
|
Loading…
Reference in a new issue