ngx-admin/Dockerfile
Geoffrey Roguelon a30c41a11d Replace bower packages by NPM packages.
In the issue akveo/ng2-admin#162, search should be made to be sure of non regression.
2016-08-18 12:45:44 -05:00

14 lines
383 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 typings webpack webpack-dev-server typescript \
&& npm install \
&& npm run prebuild:prod && npm run build:prod
EXPOSE 8080
WORKDIR /var/www
ENTRYPOINT ["npm", "run", "server:prod"]