Skip to content

Commit 011ddb2

Browse files
committed
Added herokuish to Dockerfile
1 parent 389232c commit 011ddb2

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

Dockerfile

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
1-
FROM sethbergman/ng2-admin:latest
2-
ARG NODE=production
3-
41
RUN curl --location --silent https://github.com/gliderlabs/herokuish/releases/download/v0.3.25/herokuish_0.3.25_linux_x86_64.tgz \
52
| tar -xzC /bin
6-
RUN cd ..
73

8-
FROM node:latest
9-
RUN git clone https://github.com/sethbergman/ng2-admin.git /var/www \
10-
&& cd /var/www \
11-
&& npm install --global rimraf \
12-
&& npm run clean \
13-
&& npm install --global webpack webpack-dev-server typescript@beta \
14-
&& npm install \
15-
&& npm run build:prod
4+
FROM nginx:latest
5+
COPY dist/ /usr/share/nginx/html
166

17-
ENTRYPOINT /var/www
18-
19-
EXPOSE 80
7+
FROM sethbergman/ng2-admin:latest
8+
ARG NODE=production

0 commit comments

Comments
 (0)