mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 00:10:14 +01:00
Conflicts: Dockerfile docs/contents/articles/002-installation-guidelines/index.md docs/contents/articles/012-project-structure/index.md
14 lines
380 B
Docker
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"]
|