Add Dockerfile and compose setup for self-hosting
Multi-stage build: Node builds the static PWA, nginx serves it with an SPA fallback, long-lived caching for hashed assets, no-cache for the app shell and service worker, and the correct type for the web manifest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VsorPV3JeJRoZ1mD1pdvtL
This commit is contained in:
parent
08a530c78f
commit
23d0c29e0b
5 changed files with 72 additions and 0 deletions
9
.dockerignore
Normal file
9
.dockerignore
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
.git
|
||||
.claude
|
||||
node_modules
|
||||
.svelte-kit
|
||||
build
|
||||
memos
|
||||
Dockerfile
|
||||
compose.yaml
|
||||
*.md
|
||||
Loading…
Add table
Add a link
Reference in a new issue