Skip to content

Commit 4f597a2

Browse files
committed
Added herokuish to Dockerfile
1 parent 960ba7b commit 4f597a2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
FROM node:latest
1+
FROM sethbergman/ng2-admin:latest
22

33
ARG NODE=production
44

55
#RUN git clone https://github.com/sethbergman/ng2-admin.git /var/www \
66
# && cd /var/www \
7-
RUN 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
7+
RUN npm run prebuild:prod && npm run build:prod && npm run server:prod
128

139
EXPOSE 80
1410

0 commit comments

Comments
 (0)