ci: accept CIRCLE_BRANCH in all Dockerfiles

This commit is contained in:
Sérgio Ramos 2017-06-01 17:20:25 +01:00
parent 0503802282
commit 96fae2b95d
2 changed files with 4 additions and 0 deletions

View File

@ -8,5 +8,7 @@ RUN npm install lerna@^2.0.0-rc.5 \
WORKDIR /home/node/app/packages/cp-gql-mock-server
COPY packages/cp-gql-mock-server/etc/containerpilot.json /etc/
ARG CIRCLE_BRANCH
EXPOSE 3000
CMD ["/bin/containerpilot", "yarn", "run", "start"]

View File

@ -8,5 +8,7 @@ RUN npm install lerna@^2.0.0-rc.5 \
WORKDIR /home/node/app/packages/ui-toolkit
COPY packages/ui-toolkit/etc/containerpilot.json /etc/
ARG CIRCLE_BRANCH
EXPOSE 6060
CMD ["/bin/containerpilot", "yarn", "run", "styleguide"]