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 389232c commit 011ddb2Copy full SHA for 011ddb2
Dockerfile
@@ -1,19 +1,8 @@
1
-FROM sethbergman/ng2-admin:latest
2
-ARG NODE=production
3
-
4
RUN curl --location --silent https://github.com/gliderlabs/herokuish/releases/download/v0.3.25/herokuish_0.3.25_linux_x86_64.tgz \
5
| tar -xzC /bin
6
-RUN cd ..
7
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
+FROM nginx:latest
+COPY dist/ /usr/share/nginx/html
16
17
-ENTRYPOINT /var/www
18
19
-EXPOSE 80
+FROM sethbergman/ng2-admin:latest
+ARG NODE=production
0 commit comments