From 6e60da9ea56ac22bf7843f295c6c2af3abc6ddbc Mon Sep 17 00:00:00 2001 From: nemo Date: Fri, 26 Sep 2025 20:52:29 +0200 Subject: [PATCH] Fix docker example The flake in this example (and others, didn't check all) reference kernel-builder via `../..` which will fail when only the flake is mounted into `/app` of the container. Mounting the whole repo and changing to the example directory in the container works, though. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1b21b137..c08e6cfe 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,8 @@ We also provide Docker containers for CI builds. For a quick build: # Using the prebuilt container cd examples/activation docker run --rm \ - -v $(pwd):/app \ - -w /app \ + -v $(pwd)/../..:/app \ + -w /app/examples/activation \ ghcr.io/huggingface/kernel-builder:{SHA} \ build ```