Fix Docker build in jenkins

This commit is contained in:
30hours 2024-02-15 13:15:39 +00:00
parent 04bfb22176
commit 0b1683a6cd

4
Jenkinsfile vendored
View file

@ -10,8 +10,8 @@ pipeline {
stage('Build') { stage('Build') {
steps { steps {
echo 'Building the project' echo 'Building the project'
sh "docker build -t 30hours/blah2 -f Dockerfile ." docker.build("30hours/blah2", "--file ./Dockerfile .")
sh "docker build -t 30hours/blah2_api -f ./api/Dockerfile ." docker.build("30hours/blah2", "--file ./api/Dockerfile .")
} }
} }
stage('Test') { stage('Test') {