diff --git a/Jenkinsfile b/Jenkinsfile index 94b6fa8..4735482 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,9 +9,10 @@ agent any steps{ sh 'npm install' sh 'npm run build' - sh 'cp -r public .next/standalone/' - sh 'cp -r prisma .next/standalone/' - sh 'cp -r .next/static .next/standalone/' + sh 'mkdir standalone' + sh 'cp -r public standalone/' + sh 'cp -r prisma standalone/' + sh 'cp -r .next/static standalone/.next/' sh ' tar -C .next -cf subman.tar.gz standalone ' } }