changed dockerfiles
All checks were successful
Schedulord/schedulord-backend/pipeline/head This commit looks good
All checks were successful
Schedulord/schedulord-backend/pipeline/head This commit looks good
This commit is contained in:
parent
c9d166cf54
commit
c8841c8e14
@ -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
18
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user