mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 07:45:49 +00:00
Dockerfile+
This commit is contained in:
parent
e2fbc56130
commit
b11d2385f0
1 changed files with 4 additions and 0 deletions
4
Dockerfile
Normal file
4
Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
FROM java:8-jdk-alpine
|
||||
RUN useradd -m -u 1000 -s /bin/bash jenkins
|
||||
COPY /home/owlleg6/jenkins/workspace/builder-centos/spring-petclinic/target/spring-petclinic-2.4.2.jar /home/spring-petclinic-2.4.2.jar
|
||||
CMD ["java","-jar","/home/spring-petclinic-2.4.2.jar"]
|
Loading…
Reference in a new issue