Commit Graph

3 Commits

Author SHA1 Message Date
josh d00eb4c12b ci: drop GHA cache backend
Build and push image / build (push) Successful in 1m1s
act_runner advertises a GHA cache endpoint that isn't reachable from
inside the build container, causing the workflow to fail after a
successful image push. The build itself was fine; only the cache export
timed out. Remove cache-from/cache-to until a real cache backend is
configured.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 20:36:29 -04:00
josh 2a623e0b9c Add Docker image, compose, and Gitea CI
Build and push image / build (push) Failing after 2m5s
- Multi-stage Dockerfile builds server + web into a single node:20-alpine
  image; runtime serves API on /api and the SPA from /app/public.
- Express now serves web/dist with an SPA fallback that skips /api so API
  misses still 404 cleanly.
- docker-compose.yml is a single-service deploy with a named volume for
  the SQLite database at /data/apothecary.db.
- .gitea/workflows/build.yml pushes :latest, :<sha>, and :semver tags to
  the Gitea container registry on main and v* tags.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 20:29:18 -04:00
josh 027cf032be Initial commit: Apothecary v0.4.0 2026-05-03 20:19:26 -04:00