We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6770f0b commit 73ab6deCopy full SHA for 73ab6de
.dockerignore
@@ -0,0 +1,12 @@
1
+node_modules
2
+npm-debug.log
3
+Dockerfile*
4
+docker-compose*
5
+.dockerignore
6
+.git
7
+.gitignore
8
+README.md
9
+LICENSE
10
+.vscode
11
+dist
12
+.github
Dockerfile
@@ -8,12 +8,14 @@ COPY package.json /usr/src/app/package.json
RUN npm install -g @angular/[email protected]
-CMD ng build
13
RUN npm install
14
+
15
COPY . .
16
17
+RUN ng build --prod
18
19
FROM nginx:1.19.3
20
21
COPY --from=builder /usr/src/app/dist/web-app /usr/share/nginx/html
0 commit comments