changed dockerfiles
Schedulord/schedulord-backend/pipeline/head This commit looks good Details

This commit is contained in:
Jesse James Isler 2022-06-09 15:01:40 +02:00
parent c9d166cf54
commit c8841c8e14
2 changed files with 13 additions and 7 deletions

View File

@ -3,4 +3,4 @@ FROM nginx:1.13.1-alpine
EXPOSE 80
COPY dist /var/www
COPY config/nginx.conf /etc/nginx/nginx.conf
# COPY config/nginx.conf /etc/nginx/nginx.conf

18
Jenkinsfile vendored
View File

@ -17,16 +17,22 @@ pipeline {
// }
// }
stage('Lint') {
steps {
sh 'npm run ng lint'
}
}
// stage('Lint') {
// steps {
// sh 'npm run ng lint'
// }
// }
stage('Build') {
stage('Build Angular') {
steps {
sh 'npm run ng build --prod --aot --sm --progress=false'
}
}
stage('Build Dockerfile') {
steps {
sh 'docker build . -t schedulord-backend'
}
}
}
}