Commit 4cf50a1a authored by root's avatar root
parents 0c8e44d4 85a56149
......@@ -22,7 +22,7 @@ pipeline {
stage('Build docker image') {
steps {
script {
def customImage = docker.build('prawinkorvi/petclinic')
def customImage = docker.build('prawinkorvi/petclinic' './docker')
docker.withRegistry('https://registry.hub.docker.com', 'dockerhub') {
customImage.push(versionnum+"."+"${env.BUILD_NUMBER}")
}
......
FROM openjdk:11.0.5-jdk
COPY *.jar app.jar
ADD *.jar app.jar
ENTRYPOINT java -jar app.jar
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment