Skip to content

Commit 66c3100

Browse files
committed
por favor não apague o meu diretório de build
ref: angular/angular-cli#4366 (comment)
1 parent 00b0a71 commit 66c3100

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
ports:
2828
- "4200:80"
2929
volumes:
30-
- ./frontend/dist/frontend/:/usr/share/nginx/html/
30+
- ./frontend/dist:/usr/share/nginx/html
3131
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
3232
environment:
3333
- NGINX_HOST=ninrod.org

frontend/angular.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"build": {
1818
"builder": "@angular-devkit/build-angular:browser",
1919
"options": {
20-
"outputPath": "dist/frontend",
20+
"outputPath": "dist",
21+
"deleteOutputPath": false,
2122
"index": "src/index.html",
2223
"main": "src/main.ts",
2324
"polyfills": "src/polyfills.ts",

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@
5454
"json-server": "0.12.1",
5555
"npm-run-all": "4.1.2"
5656
}
57-
}
57+
}

frontend/src/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1>
88
<h2>Here are some links to help you start: </h2>
99
<ul>
1010
<li>
11-
<h2><a target="_blank" rel="noopener" href="https://angular.io/tutorial">Tour of Heroes</a></h2>
11+
<h2><a target="_blank" rel="noopener" href="https://angular.io/tutorial">Tour of Heroes is awesome adilson do céu!</a></h2>
1212
</li>
1313
<li>
1414
<h2><a target="_blank" rel="noopener" href="https://angular.io/cli">CLI Documentation</a></h2>

0 commit comments

Comments
 (0)