Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(ci): only add build artifacts to deploy container (#12755)

Nimar02c2932bc789
diff --git a/packages/shared/package.json b/packages/shared/package.json
index 8806c5dbfc..0d5e0ec8e0 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -3,6 +3,12 @@
"version": "1.0.0",
"license": "MIT",
"private": true,
+ "files": [
+ "dist/**",
+ "prisma/**",
+ "clickhouse/**",
+ "scripts/cleanup.sql"
+ ],
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"engines": {
diff --git a/web/Dockerfile b/web/Dockerfile
index 51940ed4c5..8660c69d9a 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -14,7 +14,8 @@ RUN corepack enable
RUN corepack prepare [email protected] --activate
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine AS runtime-base
-# Remove package managers from the runtime image; only build stages need them.
+# Remove build-only package managers. npm stays here because the runner stage
+# uses it to install prisma and optional dd-trace before removing it.
RUN rm -rf /usr/local/lib/node_modules/corepack && \
rm -f /usr/local/bin/corepack /usr/local/bin/pnpm /usr/local/bin/pnpx /usr/local/bin/yarn /usr/local/bin/yarnpkg
diff --git a/worker/package.json b/worker/package.json
index 2639d41cc6..e041e28eb3 100644
--- a/worker/package.json
+++ b/worker/package.json
@@ -4,6 +4,10 @@
"description": "",
"license": "MIT",
"private": true,
+ "files": [
+ "dist/**",
+ "entrypoint.sh"
+ ],
"engines": {
"node": "24"
},