harbor/make/dev/nodeclarity/Dockerfile
2017-02-24 14:12:45 +08:00

17 lines
362 B
Docker

FROM node:7.5.0
RUN git clone https://github.com/vmware/clarity-seed.git /clarity-seed
COPY index.html /clarity-seed
COPY entrypoint.sh /clarity-seed
WORKDIR /clarity-seed
RUN npm install -g @angular/cli && \
npm install && \
chmod u+x entrypoint.sh
VOLUME ["/clarity-seed/src/app", "/clarity-seed/dist"]
ENTRYPOINT ["/clarity-seed/entrypoint.sh"]