Blame view

Dockerfile 380 Bytes
05b0b5d8   Yarik   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  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"]