Skip to content

Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.

fix: add non-free apt sources for nvidia-cuda-toolkit on Bookworm

Harsh Mathur9462ef117712
diff --git a/Dockerfile b/Dockerfile
index 6434ff73..f632f51c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -90,9 +90,10 @@ RUN apt-get update && apt-get dist-upgrade -y \
&& rm -rf /var/lib/apt/lists/*
RUN if [ "$ENABLE_GPU" = "true" ] && [ "$TARGETARCH" = "amd64" ] ; then \
- apt-get update && apt-get install -y --no-install-recommends \
+ echo "deb http://deb.debian.org/debian bookworm non-free" >> /etc/apt/sources.list \
+ && apt-get update && apt-get install -y --no-install-recommends \
nvidia-cuda-toolkit \
- && apt-get clean \
+ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* ; \
else \
echo "Skipping NVIDIA CUDA Toolkit installation (unsupported platform or GPU disabled)"; \