feat(docker): build and serve with Node and npm instead of Nginx

This commit is contained in:
venus
2026-09-13 01:59:49 -05:00
parent e733f479dd
commit 78b1e0b485
12 changed files with 294 additions and 200 deletions
+4 -3
View File
@@ -10,7 +10,7 @@ Inspired by native terminal environments, modal text editors (Zed, Ghostty), and
### 1.1 Static Generation via Eleventy (11ty)
- **Engine:** Fast, pre-rendered static HTML and minimal client-side runtime using **Eleventy** and **Nunjucks (`.njk`)** templates.
- **Performance:** Instant time-to-first-byte (TTFB), zero client-side framework bloat, and pure static asset delivery via Alpine Nginx.
- **Performance:** Instant time-to-first-byte (TTFB), zero client-side framework bloat, and pure static asset delivery via high-performance native Node runtime.
- **Syntax Highlighting & Code Blocks:** Terminal-styled code blocks with title bars displaying filenames, language tags, and high-contrast monospace code.
### 1.2 Dynamic Obsidian Publishing Pipeline
@@ -70,8 +70,9 @@ Adhering to the principles in [`sample-designs/design-specification.md`](./sampl
│ └── posts/ # Markdown content ingested from Obsidian
├── .eleventy.js # Eleventy configuration, markdown-it plugins, and shortcodes
├── package.json # Project dependencies & build scripts
├── Dockerfile # Alpine Nginx container definition
├── docker-compose.yml # Multi-container orchestration (web + ingestion API)
├── server.js # Native Node static web server & clean-URL router
├── Dockerfile # Node container definition (built & served via npm)
├── docker-compose.yml # Container orchestration (web gateway)
└── AGENTS.md # Project-level agent instructions & pair programming guide
```