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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
perf(docker): stop the permission pass from copying the whole app into a 1.2 GB layer
ni3ae4013890a97c
diff --git a/Dockerfile b/Dockerfileindex d291300f1..3fa6207b9 100644--- a/Dockerfile+++ b/Dockerfile@@ -82,7 +82,17 @@ ENV NODE_ENV=production \# Normalize to world-readable + traversable before dropping privileges so the# image boots regardless of the source umask. `a+rX` adds read to everything and# the execute/traverse bit only to directories (and already-executable files).-RUN chmod -R a+rX /app+#+# Only paths that actually lack those bits are touched. A blanket `chmod -R`+# changed the metadata of every file under /app, and overlayfs answers a chmod by+# copying the whole file up into the new layer: that one step took 527s of the+# docker build and shipped a 1.2 GB layer holding a second copy of the app,+# which also slowed every push and every Cloud Run image pull. The find below+# selects exactly the paths `chmod -R a+rX` would change (directories missing+# r-x for anyone, files missing read for anyone, files executable for some but+# not all), so the resulting modes are identical, and a normal context yields an+# empty layer.+RUN find /app \( \( -type d ! -perm -555 \) -o \( -type f \( ! -perm -444 -o \( -perm /111 ! -perm -111 \) \) \) \) -exec chmod a+rX {} +USER nodeEXPOSE 8080