mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
first commit
This commit is contained in:
parent
6e24f5dc64
commit
6db6bfab81
1 changed files with 17 additions and 0 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Pull base image.
|
||||
FROM ubuntu:latest
|
||||
|
||||
RUN \
|
||||
# Update
|
||||
apt-get update -y && \
|
||||
# Install Java
|
||||
apt-get install default-jre -y
|
||||
|
||||
ADD ./target/spring-petclinic-2.1.0.BUILD-SNAPSHOT.jar spring-petclinic.jar
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD java -jar spring-petclinic.jar
|
||||
|
||||
# container registry
|
||||
# mbankpoc
|
Loading…
Reference in a new issue