2017-02-22 11:30:37 +01:00
|
|
|
FROM node:7.5.0
|
2017-02-21 07:54:42 +01:00
|
|
|
|
2017-06-23 10:23:28 +02:00
|
|
|
RUN mkdir -p /harbor_resources
|
|
|
|
RUN mkdir -p /harbor_src
|
2017-02-21 07:54:42 +01:00
|
|
|
|
2017-06-23 10:23:28 +02:00
|
|
|
COPY src/ui_ng/package.json /harbor_resources
|
2017-03-20 11:51:20 +01:00
|
|
|
COPY make/dev/nodeclarity/entrypoint.sh /
|
2017-02-21 07:54:42 +01:00
|
|
|
|
2017-12-25 03:33:52 +01:00
|
|
|
# Install Chrome
|
|
|
|
RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
|
|
|
|
RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | tee /etc/apt/sources.list.d/google-chrome.list
|
|
|
|
RUN apt-get update && apt-get -y install google-chrome-stable
|
|
|
|
|
|
|
|
# Install npm package
|
2017-06-23 10:23:28 +02:00
|
|
|
WORKDIR /harbor_resources
|
2017-02-21 07:54:42 +01:00
|
|
|
|
2017-04-21 11:08:13 +02:00
|
|
|
RUN npm __proxy__ install -g @angular/cli && \
|
|
|
|
npm __proxy__ install && \
|
2017-03-20 11:51:20 +01:00
|
|
|
chmod u+x /entrypoint.sh
|
2017-06-23 10:23:28 +02:00
|
|
|
VOLUME ["/harbor_src"]
|