Commit Graph

2 Commits

Author SHA1 Message Date
eaa8a58d4f fix(build): add placeholder for embed static directory
All checks were successful
continuous-integration/drone/push Build is passing
Add .gitkeep to backend/web/static/ to ensure directory exists
for Go embed directive. The static/* pattern requires at least
one file to exist at build time, otherwise compilation fails.

Update .gitignore to allow .gitkeep while ignoring other contents.
2026-02-22 20:38:07 -05:00
59de41f827 feat(build): embed static assets into Go binary
Some checks failed
continuous-integration/drone/push Build is failing
Embed frontend build output directly into Go binary using //go:embed.
This removes runtime dependency on ../frontend/public/ path and
simplifies Docker builds by serving assets from embedded filesystem.

- Add backend/web/embed.go with embed.FS directive
- Update server to serve from embedded static assets
- Update Makefile to copy frontend build to web/static/
- Update Dockerfile for simplified multi-stage build
- Update frontend package.json output paths
- Remove custom 'oc' command from flake.nix dev shell
2026-02-22 20:36:03 -05:00