Browse Source

configuring dockerfile

xiaoct 7 years ago
parent
commit
dbde37b22e
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Dockerfile
  2. 1 0
      Jenkinsfile

+ 1 - 0
Dockerfile

@@ -11,6 +11,7 @@ FROM ubuntu
 RUN apt-get update
 RUN apt-get update
 RUN apt-get install nodejs nginx -y
 RUN apt-get install nodejs nginx -y
 RUN rm -v /etc/nginx/nginx.conf
 RUN rm -v /etc/nginx/nginx.conf
+RUN mkdir /usr/bi-web
 ADD nginx.conf /etc/nginx
 ADD nginx.conf /etc/nginx
 EXPOSE 80
 EXPOSE 80
 CMD service nginx start
 CMD service nginx start

+ 1 - 0
Jenkinsfile

@@ -10,6 +10,7 @@ pipeline {
     stages {
     stages {
         stage('Build'){
         stage('Build'){
             steps {
             steps {
+                sh 'll'
                 sh 'npm install'
                 sh 'npm install'
             }
             }
         }
         }