2017-02-22 10:30:37 +00:00
|
|
|
FROM node:7.5.0
|
2017-02-21 06:54:42 +00:00
|
|
|
|
2017-02-22 10:30:37 +00:00
|
|
|
ENV http_proxy="http://proxy.vmware.com:3128"
|
|
|
|
ENV https_proxy="http://proxy.vmware.com:3128"
|
2017-02-21 06:54:42 +00:00
|
|
|
|
2017-02-22 10:30:37 +00:00
|
|
|
RUN git clone https://github.com/vmware/clarity-seed.git /clarity-seed
|
|
|
|
|
|
|
|
COPY index.html /clarity-seed
|
|
|
|
COPY entrypoint.sh /clarity-seed
|
2017-02-21 06:54:42 +00:00
|
|
|
|
|
|
|
WORKDIR /clarity-seed
|
|
|
|
|
2017-02-22 10:30:37 +00:00
|
|
|
RUN npm install -g @angular/cli && \
|
|
|
|
npm install && \
|
|
|
|
chmod u+x entrypoint.sh
|
2017-02-21 06:54:42 +00:00
|
|
|
|
|
|
|
VOLUME ["/clarity-seed/src/app", "/clarity-seed/dist"]
|
|
|
|
|
|
|
|
ENTRYPOINT ["/clarity-seed/entrypoint.sh"]
|