- Scaffolded Angular 21 app in frontend/ (standalone, routing, scss) - Multi-stage Dockerfile: node:22-alpine build → nginx:alpine serve - nginx.conf with SPA routing fallback, API proxy, gzip, asset caching - .dockerignore excludes node_modules, dist, .angular, spec files - docker build → PASS, container serves UI on port 80 (HTTP 200) - Final image: 92.9MB (nginx:alpine)
18 lines
314 B
INI
18 lines
314 B
INI
# Editor configuration, see https://editorconfig.org
|
|
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
indent_style = space
|
|
indent_size = 2
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.ts]
|
|
quote_type = single
|
|
ij_typescript_use_double_quotes = false
|
|
|
|
[*.md]
|
|
max_line_length = off
|
|
trim_trailing_whitespace = false
|