diff --git a/jenkins/Jenkinsfile b/jenkins/Jenkinsfile index 7833d6c..b58cdb1 100644 --- a/jenkins/Jenkinsfile +++ b/jenkins/Jenkinsfile @@ -32,7 +32,7 @@ pipeline { unstash 'dockerfile' unstash 'ecodash-x86' unstash 'templates' - sh 'docker build -t ecodash .' + sh 'cp jenkins/Dockerfile ./Dockerfile; docker build -t ecodash .' } } @@ -55,7 +55,7 @@ pipeline { unstash 'dockerfile' unstash 'ecodash-arm' unstash 'templates' - sh 'docker buildx build --platform linux/arm64 -t ecodash .' + sh 'cp jenkins/Dockerfile ./Dockerfile; docker buildx build --platform linux/arm64 -t ecodash .' } }