1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-25 03:10:06 +02:00
copilot/legacy/ui/Dockerfile.build
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00

10 lines
347 B
Docker

FROM quay.io/yldio/alpine-node-containerpilot:6.9.4
ARG NPM_TOKEN
ARG CIRCLE_BUILD_NUM
ENV NPM_TOKEN ${NPM_TOKEN}
ENV CIRCLE_BUILD_NUM ${CIRCLE_BUILD_NUM}
RUN echo -e "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
RUN NODE_ENV=production make compile
RUN npm version 0.0.1-${CIRCLE_BUILD_NUM}
RUN npm publish --tag alpha --access public