feat: Initialize Go backend module with dependencies and configure Docker build to use GOTOOLCHAIN=auto.

This commit is contained in:
2026-01-30 07:46:53 +08:00
parent d67775f111
commit d3c177d0d8
3 changed files with 5 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ COPY backend/ ./
COPY --from=frontend-builder /app/frontend/dist ./internal/web/dist
# Build the binary with embed tag
RUN CGO_ENABLED=1 GOOS=linux go build \
RUN GOTOOLCHAIN=auto CGO_ENABLED=1 GOOS=linux go build \
-tags embed \
-ldflags="-s -w" \
-o /app/codex-pool \