harbor/make/dev/nodeclarity/Dockerfile

21 lines
545 B
Docker
Raw Normal View History

FROM node:7.5.0
2017-02-21 07:54:42 +01:00
2017-04-26 10:00:18 +02:00
RUN mkdir -p /harbor_ui
2017-02-21 07:54:42 +01:00
2017-04-26 10:00:18 +02:00
COPY src/ui_ng/package.json /harbor_ui
COPY src/ui_ng/tslint.json /harbor_ui
COPY src/ui_ng/typings.json /harbor_ui
COPY src/ui_ng/yarn.lock /harbor_ui
COPY make/dev/nodeclarity/angular-cli.json /harbor_ui
COPY make/dev/nodeclarity/entrypoint.sh /
2017-02-21 07:54:42 +01:00
2017-04-26 10:00:18 +02:00
COPY src/ui_ng/tsconfig-aot.json /harbor_ui
COPY src/ui_ng/rollup-config.js /harbor_ui
2017-04-21 13:34:57 +02:00
2017-04-26 10:00:18 +02:00
WORKDIR /harbor_ui
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 && \
chmod u+x /entrypoint.sh
2017-04-26 10:00:18 +02:00
VOLUME ["/harbor_ui", "/harbor_ui/dist"]