Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

feat(go): build with race detection

Gergő Móricz7e00c23b6582
diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile
index d8fced7d7..1a7752ea6 100644
--- a/apps/api/Dockerfile
+++ b/apps/api/Dockerfile
@@ -20,7 +20,7 @@ COPY sharedLibs/go-html-to-md /app/sharedLibs/go-html-to-md
# Install Go dependencies and build parser lib
RUN cd /app/sharedLibs/go-html-to-md && \
go mod tidy && \
- go build -o html-to-markdown.so -buildmode=c-shared html-to-markdown.go && \
+ go build -race -o html-to-markdown.so -buildmode=c-shared html-to-markdown.go && \
chmod +x html-to-markdown.so
# Install Rust