ci: accept CIRCLE_BRANCH in all Dockerfiles
This commit is contained in:
parent
0503802282
commit
96fae2b95d
@ -8,5 +8,7 @@ RUN npm install lerna@^2.0.0-rc.5 \
|
|||||||
WORKDIR /home/node/app/packages/cp-gql-mock-server
|
WORKDIR /home/node/app/packages/cp-gql-mock-server
|
||||||
COPY packages/cp-gql-mock-server/etc/containerpilot.json /etc/
|
COPY packages/cp-gql-mock-server/etc/containerpilot.json /etc/
|
||||||
|
|
||||||
|
ARG CIRCLE_BRANCH
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["/bin/containerpilot", "yarn", "run", "start"]
|
CMD ["/bin/containerpilot", "yarn", "run", "start"]
|
||||||
|
@ -8,5 +8,7 @@ RUN npm install lerna@^2.0.0-rc.5 \
|
|||||||
WORKDIR /home/node/app/packages/ui-toolkit
|
WORKDIR /home/node/app/packages/ui-toolkit
|
||||||
COPY packages/ui-toolkit/etc/containerpilot.json /etc/
|
COPY packages/ui-toolkit/etc/containerpilot.json /etc/
|
||||||
|
|
||||||
|
ARG CIRCLE_BRANCH
|
||||||
|
|
||||||
EXPOSE 6060
|
EXPOSE 6060
|
||||||
CMD ["/bin/containerpilot", "yarn", "run", "styleguide"]
|
CMD ["/bin/containerpilot", "yarn", "run", "styleguide"]
|
||||||
|
Loading…
Reference in New Issue
Block a user