build from dockerfile

This commit is contained in:
Joan Sanchez 2018-10-25 10:51:47 +02:00
parent 9cfb6db440
commit 269a7db38a
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -17,7 +17,7 @@ switch (env.BRANCH_NAME) {
}
node {
/* stage ('Print environment variables') {
stage ('Print environment variables') {
echo "Branch ${env.BRANCH_NAME}, build number ${env.BUILD_NUMBER}, environment ${env.NODE_ENV}"
}
stage ('Checkout') {
@ -37,7 +37,7 @@ node {
sh "gulp build"
}
} */
}
stage ('Generating new dockers') {
sh "docker build -t vn-loopback:latest ./services/loopback/"
sh "docker-compose up -d --build"