docker
This commit is contained in:
parent
063b97d3e1
commit
1d109f2371
|
@ -18,7 +18,7 @@ if (branchName == branchProduction)
|
|||
node
|
||||
{
|
||||
stage ('Print environment variables'){
|
||||
echo "Branch ${branchName}, Build ${env.TAG} en docker Host ${dockerHost}"
|
||||
echo "Branch ${branchName}, Build ${env.TAG}, NODE_ENV ${env.NODE_ENV} en docker Host ${dockerHost}"
|
||||
}
|
||||
stage ('Checkout') {
|
||||
checkout scm
|
||||
|
|
|
@ -93,3 +93,4 @@ services:
|
|||
- "client:${BRANCH_NAME}-client"
|
||||
- "mailer:${BRANCH_NAME}-mailer"
|
||||
- "production:${BRANCH_NAME}-production"
|
||||
- "route:${BRANCH_NAME}-route"
|
||||
|
|
|
@ -4,7 +4,7 @@ COPY auth /app
|
|||
|
||||
COPY loopback /loopback
|
||||
|
||||
RUN npm install /loopback
|
||||
RUN npm install loopback
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ COPY client /app
|
|||
|
||||
COPY loopback /loopback
|
||||
|
||||
RUN npm install /loopback
|
||||
RUN npm install loopback
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ COPY production /app
|
|||
|
||||
COPY loopback /loopback
|
||||
|
||||
RUN npm install /loopback
|
||||
RUN npm install loopback
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ COPY route /app
|
|||
|
||||
COPY loopback /loopback
|
||||
|
||||
RUN npm install /loopback
|
||||
RUN npm install loopback
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ COPY salix /app
|
|||
|
||||
COPY loopback /loopback
|
||||
|
||||
RUN npm install /loopback
|
||||
RUN npm install loopback
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
Loading…
Reference in New Issue