From 1d109f237196e0c043542908ff17d91d27a3d6cd Mon Sep 17 00:00:00 2001 From: Vicente Falco Date: Wed, 8 Nov 2017 14:11:33 +0100 Subject: [PATCH] docker --- Jenkinsfile | 2 +- docker-compose.yml | 1 + services/auth/Dockerfile | 2 +- services/client/Dockerfile | 2 +- services/production/Dockerfile | 2 +- services/route/Dockerfile | 2 +- services/salix/Dockerfile | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ae8b0e27d..82748e93d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 4b4de282a..c7a491d49 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -93,3 +93,4 @@ services: - "client:${BRANCH_NAME}-client" - "mailer:${BRANCH_NAME}-mailer" - "production:${BRANCH_NAME}-production" + - "route:${BRANCH_NAME}-route" diff --git a/services/auth/Dockerfile b/services/auth/Dockerfile index d3bfe4338..f0390d9e9 100644 --- a/services/auth/Dockerfile +++ b/services/auth/Dockerfile @@ -4,7 +4,7 @@ COPY auth /app COPY loopback /loopback -RUN npm install /loopback +RUN npm install loopback WORKDIR /app diff --git a/services/client/Dockerfile b/services/client/Dockerfile index 71f255c9d..01cc147f1 100644 --- a/services/client/Dockerfile +++ b/services/client/Dockerfile @@ -4,7 +4,7 @@ COPY client /app COPY loopback /loopback -RUN npm install /loopback +RUN npm install loopback WORKDIR /app diff --git a/services/production/Dockerfile b/services/production/Dockerfile index 7241505bf..41e52e736 100644 --- a/services/production/Dockerfile +++ b/services/production/Dockerfile @@ -4,7 +4,7 @@ COPY production /app COPY loopback /loopback -RUN npm install /loopback +RUN npm install loopback WORKDIR /app diff --git a/services/route/Dockerfile b/services/route/Dockerfile index fc2de4e7f..6491d6e4f 100644 --- a/services/route/Dockerfile +++ b/services/route/Dockerfile @@ -4,7 +4,7 @@ COPY route /app COPY loopback /loopback -RUN npm install /loopback +RUN npm install loopback WORKDIR /app diff --git a/services/salix/Dockerfile b/services/salix/Dockerfile index 61f687e33..8af14e460 100644 --- a/services/salix/Dockerfile +++ b/services/salix/Dockerfile @@ -4,7 +4,7 @@ COPY salix /app COPY loopback /loopback -RUN npm install /loopback +RUN npm install loopback WORKDIR /app