pipeline { agent any stages { stage('Build with Dockerfile.dev') { steps { sh 'docker build -f Dockerfile.dev -t lab3.5-dev .' } } stage('Build with Dockerfile.prod') { steps { sh 'docker build -f Dockerfile.prod -t lab3.5-prod .' } } } }