Docker: Faster

This commit is contained in:
Vicente Falco 2017-11-08 17:04:08 +01:00
parent 568c854435
commit 254615331a
6 changed files with 5 additions and 10 deletions

5
Jenkinsfile vendored
View File

@ -34,6 +34,11 @@ node
stage ("docker") stage ("docker")
{ {
stage ("install modules loopback service")
{
sh "npm install /services/loopback"
}
stage ("Stopping/Removing Docker") stage ("Stopping/Removing Docker")
{ {
sh "docker-compose down --rmi all" sh "docker-compose down --rmi all"

View File

@ -4,8 +4,6 @@ COPY auth /app
COPY loopback /loopback COPY loopback /loopback
RUN npm install loopback
WORKDIR /app WORKDIR /app
RUN npm install RUN npm install

View File

@ -4,8 +4,6 @@ COPY client /app
COPY loopback /loopback COPY loopback /loopback
RUN npm install loopback
WORKDIR /app WORKDIR /app
RUN npm install RUN npm install

View File

@ -4,8 +4,6 @@ COPY production /app
COPY loopback /loopback COPY loopback /loopback
RUN npm install loopback
WORKDIR /app WORKDIR /app
RUN npm install RUN npm install

View File

@ -4,8 +4,6 @@ COPY route /app
COPY loopback /loopback COPY loopback /loopback
RUN npm install loopback
WORKDIR /app WORKDIR /app
RUN npm install RUN npm install

View File

@ -4,8 +4,6 @@ COPY salix /app
COPY loopback /loopback COPY loopback /loopback
RUN npm install loopback
WORKDIR /app WORKDIR /app
RUN npm install RUN npm install