diff --git a/Jenkinsfile b/Jenkinsfile index a586bd9..48c32ae 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,7 +23,7 @@ pipeline { sh 'rm -rf node_modules' sh 'docker run --rm -v $(pwd)/manager:/srv/manager -w /srv/manager jc21/$IMAGE_NAME-base yarn --registry=$NPM_REGISTRY install --prod' sh 'docker run --rm -v $(pwd)/manager:/data $DOCKER_CI_TOOLS node-prune' - sh 'docker build -t $TEMP_IMAGE_NAME .' + sh 'docker build --squash --compress -t $TEMP_IMAGE_NAME .' } } stage('Publish') {