mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
testing new aproach
This commit is contained in:
parent
edafd6e123
commit
afc6ebb136
2 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
FROM openjdk:8-jre-alpine
|
||||
# WORKDIR /app
|
||||
# COPY /build/target/app.jar .
|
||||
# COPY target/app.jar .
|
||||
EXPOSE 8080
|
||||
CMD [ "ls" ]
|
||||
# CMD [ "java", "-jar", "-Dspring.profiles.active=mysql" ,"app.jar" ]
|
||||
|
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -9,7 +9,7 @@ pipeline {
|
|||
dockerfile {
|
||||
filename 'Dockerfile.build'
|
||||
dir '.'
|
||||
args '-d -v $HOME/.m2:/root/.m2 -v /build:/root/build'
|
||||
args '-d -v $HOME/.m2:/root/.m2 -v .:/build'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
|
@ -21,7 +21,7 @@ pipeline {
|
|||
agent {
|
||||
dockerfile {
|
||||
filename 'Dockerfile.run'
|
||||
dir '.'
|
||||
dir '/build'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
|
|
Loading…
Reference in a new issue