mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
running app fix
This commit is contained in:
parent
dc2414a2f9
commit
2edd04b1b1
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -28,11 +28,11 @@ pipeline {
|
|||
agent {
|
||||
dockerfile {
|
||||
filename 'Dockerfile.run'
|
||||
args '-v $HOME/.m2:/root/.m2 -v $HOME/app:/root/app --network petclinic'
|
||||
args '-v $HOME/.m2:/root/.m2 -v $HOME/app:/root/app --network petclinic -t petclinic-app'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
echo "Running App"
|
||||
sh 'docker run --network petclinic -p8080:3000 -v $HOME/app:/root/app petclinic-app'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue