Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

chore(vanity): trim the grinder image build context to what it copies

nirholas646d4948afb6
diff --git a/workers/vanity-grinder/Dockerfile.dockerignore b/workers/vanity-grinder/Dockerfile.dockerignore
new file mode 100644
index 000000000..63884dddc
--- /dev/null
+++ b/workers/vanity-grinder/Dockerfile.dockerignore
@@ -0,0 +1,22 @@
+# Build-context allowlist for THIS image only (BuildKit reads
+# <dockerfile>.dockerignore in preference to the root .dockerignore).
+#
+# The image builds from the repo root so its repo-relative imports (../../src,
+# ../../api) resolve, but it copies four directories and one package.json. The
+# root .dockerignore only drops node_modules and .git, which still leaves ~2.5 GB
+# of dist/, public/, dist-lib/ and character-studio/ to stream into the daemon:
+# enough to OOM the build (exit 144) on a dev machine or a Codespace, for files
+# this Dockerfile never opens. Cloud Build trims its own upload via .gcloudignore;
+# this is the same trimming for a local `docker build`.
+#
+# Keep in sync with the COPY lines in Dockerfile.
+*
+!src/solana
+!src/shared
+!api/_lib
+!workers/vanity-grinder
+!workers/vanity-grinder/package.json
+
+# Never ship run state or a local dep tree into the image.
+**/node_modules
+workers/vanity-grinder/out