Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Improve build performance for backend

Smaug67395a41b079193e
diff --git a/backend/Dockerfile b/backend/Dockerfile
index 46b6a352..f52e722e 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -13,7 +13,7 @@ RUN go mod download
COPY . .
# Build the application
-RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o backend_app .
+RUN CGO_ENABLED=0 GOOS=linux go build -installsuffix cgo -o backend_app .
# Production stage - distroless
FROM gcr.io/distroless/static-debian12:nonroot