Docker: Faster
This commit is contained in:
parent
568c854435
commit
254615331a
|
@ -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"
|
||||
|
|
|
@ -4,8 +4,6 @@ COPY auth /app
|
|||
|
||||
COPY loopback /loopback
|
||||
|
||||
RUN npm install loopback
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm install
|
||||
|
|
|
@ -4,8 +4,6 @@ COPY client /app
|
|||
|
||||
COPY loopback /loopback
|
||||
|
||||
RUN npm install loopback
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm install
|
||||
|
|
|
@ -4,8 +4,6 @@ COPY production /app
|
|||
|
||||
COPY loopback /loopback
|
||||
|
||||
RUN npm install loopback
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm install
|
||||
|
|
|
@ -4,8 +4,6 @@ COPY route /app
|
|||
|
||||
COPY loopback /loopback
|
||||
|
||||
RUN npm install loopback
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm install
|
||||
|
|
|
@ -4,8 +4,6 @@ COPY salix /app
|
|||
|
||||
COPY loopback /loopback
|
||||
|
||||
RUN npm install loopback
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm install
|
||||
|
|
Loading…
Reference in New Issue