ngx-admin/Dockerfile
nixa df575a2929 Merge branch 'remove-typings-traces' of https://github.com/GRoguelon/ng2-admin into GRoguelon-remove-typings-traces
Conflicts:
	Dockerfile
	docs/contents/articles/002-installation-guidelines/index.md
	docs/contents/articles/012-project-structure/index.md
2016-08-22 19:40:35 +03:00

14 lines
380 B
Docker

FROM node:latest
RUN git clone https://github.com/akveo/ng2-admin.git /var/www \
&& cd /var/www \
&& npm install --global rimraf \
&& npm run clean \
&& npm install --global webpack webpack-dev-server typescript@beta \
&& npm install \
&& npm run prebuild:prod && npm run build:prod
EXPOSE 8080
WORKDIR /var/www
ENTRYPOINT ["npm", "run", "server:prod"]