diff --git a/Jenkinsfile b/Jenkinsfile index 82748e93d4..88de5a6b8b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,6 +34,11 @@ node stage ("docker") { + stage ("install modules loopback service") + { + sh "npm install /services/loopback" + } + stage ("Stopping/Removing Docker") { sh "docker-compose down --rmi all" diff --git a/services/auth/Dockerfile b/services/auth/Dockerfile index f0390d9e98..582de9eae5 100644 --- a/services/auth/Dockerfile +++ b/services/auth/Dockerfile @@ -4,8 +4,6 @@ COPY auth /app COPY loopback /loopback -RUN npm install loopback - WORKDIR /app RUN npm install diff --git a/services/client/Dockerfile b/services/client/Dockerfile index 01cc147f13..2ff9fa445f 100644 --- a/services/client/Dockerfile +++ b/services/client/Dockerfile @@ -4,8 +4,6 @@ COPY client /app COPY loopback /loopback -RUN npm install loopback - WORKDIR /app RUN npm install diff --git a/services/production/Dockerfile b/services/production/Dockerfile index 41e52e736b..7c0658d7c0 100644 --- a/services/production/Dockerfile +++ b/services/production/Dockerfile @@ -4,8 +4,6 @@ COPY production /app COPY loopback /loopback -RUN npm install loopback - WORKDIR /app RUN npm install diff --git a/services/route/Dockerfile b/services/route/Dockerfile index 6491d6e4fd..ded1fa1dba 100644 --- a/services/route/Dockerfile +++ b/services/route/Dockerfile @@ -4,8 +4,6 @@ COPY route /app COPY loopback /loopback -RUN npm install loopback - WORKDIR /app RUN npm install diff --git a/services/salix/Dockerfile b/services/salix/Dockerfile index 8af14e4604..db7b8720f6 100644 --- a/services/salix/Dockerfile +++ b/services/salix/Dockerfile @@ -4,8 +4,6 @@ COPY salix /app COPY loopback /loopback -RUN npm install loopback - WORKDIR /app RUN npm install