We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4754ad commit b9dee97Copy full SHA for b9dee97
Dockerfile
@@ -1,5 +1,16 @@
1
-FROM nginx:latest
2
-COPY dist/ /usr/share/nginx/html
3
-
+FROM node:latest
4
5
ARG NODE=production
+
+RUN git clone https://github.com/sethbergman/ng2-admin.git /var/www \
6
+ && cd /var/www \
7
+ && npm install --global rimraf \
8
+ && npm run clean \
9
+ && npm install --global webpack webpack-dev-server typescript@beta \
10
+ && npm install \
11
+ && npm run build:prod
12
13
+EXPOSE 80
14
15
+ENTRYPOINT /var/www
16
+# RUN npm run build
0 commit comments