feat: Initialize Go backend module with dependencies and configure Docker build to use GOTOOLCHAIN=auto.
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user