feat: update backend scripts and migration tools

This commit is contained in:
nofxai
2025-11-05 06:56:28 +00:00
parent cd41a563a1
commit ba0bb8c365
6 changed files with 455 additions and 59 deletions

View File

@@ -47,9 +47,7 @@ COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=1 GOOS=linux \
CGO_CFLAGS="-D_LARGEFILE64_SOURCE" \
go build -trimpath -ldflags="-s -w" -o nofx .
RUN CGO_ENABLED=1 GOOS=linux CGO_CFLAGS="-D_LARGEFILE64_SOURCE" go build -trimpath -ldflags="-s -w" -o nofx .
# ──────────────────────────────────────────────────────────────
# Runtime Stage (Minimal Executable Environment)