Containerize for independent deployment
All checks were successful
Docker / build-and-push (push) Successful in 46s

Adds a Dockerfile, nginx config, docker-compose.yml, and a Gitea Actions
workflow (mirroring goonk's), so rack builds and ships as its own image
rather than being embedded in goonk-cv's build - deploys stay fully
decoupled. Targets a subdomain, not a goonk.se subpath, to avoid needing
path-prefix rewriting kept in sync across the build, edge proxy, and
container.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Fredrik Johansson
2026-07-02 22:23:26 +02:00
parent f0314e7492
commit 85c87e674e
8 changed files with 165 additions and 15 deletions

12
nginx/default.conf Normal file
View File

@@ -0,0 +1,12 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# Single static page, no client-side router - just serve what's asked for.
location / {
try_files $uri $uri/ =404;
}
}