Monorepo com apps/api (Go 1.23 + chi + pgx) e apps/web (Vue 3 + Vite + TypeScript). Dockerfile multi-stage consolida tudo em imagem única (~25MB) para deploy no Dokploy. Migrations rodando na inicialização; Vue embedado no binário Go via //go:embed. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
10 lines
216 B
Go
10 lines
216 B
Go
package static
|
|
|
|
import "embed"
|
|
|
|
// FS holds the compiled Vue frontend. Populated by the Docker build:
|
|
// the web-builder stage outputs to apps/api/static/dist before go build runs.
|
|
//
|
|
//go:embed dist
|
|
var FS embed.FS
|