mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
Create Dockerfile
This commit is contained in:
parent
f3c642eeb7
commit
b973965dd0
1 changed files with 11 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM openjdk:latest
|
||||||
|
|
||||||
|
WORKDIR /tmp/
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN ./mvnw package
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
|
CMD java -jar target/*.jar
|
Loading…
Reference in a new issue