vellum 0.4.41 → 0.4.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +40 -0
- package/package.json +6 -5
package/Dockerfile
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Use debian as base image
|
|
2
|
+
FROM debian:trixie@sha256:3615a749858a1cba49b408fb49c37093db813321355a9ab7c1f9f4836341e9db
|
|
3
|
+
|
|
4
|
+
# Install system dependencies
|
|
5
|
+
RUN apt-get update && apt-get install -y \
|
|
6
|
+
ca-certificates \
|
|
7
|
+
curl \
|
|
8
|
+
g++ \
|
|
9
|
+
git \
|
|
10
|
+
make \
|
|
11
|
+
python3 \
|
|
12
|
+
sudo \
|
|
13
|
+
unzip \
|
|
14
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
15
|
+
|
|
16
|
+
# Install bun
|
|
17
|
+
RUN curl -fsSL https://bun.sh/install | bash
|
|
18
|
+
ENV BUN_INSTALL="/root/.bun"
|
|
19
|
+
ENV PATH="$BUN_INSTALL/bin:$PATH"
|
|
20
|
+
|
|
21
|
+
WORKDIR /app
|
|
22
|
+
|
|
23
|
+
# Copy the vellum meta package manifest
|
|
24
|
+
COPY node_modules/vellum/package.json ./package.json
|
|
25
|
+
|
|
26
|
+
# Copy the pre-built @vellumai packages into node_modules
|
|
27
|
+
COPY node_modules/@vellumai/assistant ./node_modules/@vellumai/assistant
|
|
28
|
+
COPY node_modules/@vellumai/cli ./node_modules/@vellumai/cli
|
|
29
|
+
COPY node_modules/@vellumai/vellum-gateway ./node_modules/@vellumai/vellum-gateway
|
|
30
|
+
|
|
31
|
+
# Install remaining transitive dependencies
|
|
32
|
+
RUN bun install
|
|
33
|
+
|
|
34
|
+
# Create the vellum CLI launcher backed by the bundled CLI package
|
|
35
|
+
RUN printf '#!/usr/bin/env sh\nexec bun run /app/node_modules/@vellumai/cli/src/index.ts "$@"\n' > /usr/local/bin/vellum && \
|
|
36
|
+
chmod +x /usr/local/bin/vellum
|
|
37
|
+
|
|
38
|
+
USER root
|
|
39
|
+
|
|
40
|
+
CMD ["vellum", "hatch", "--keep-alive"]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vellum",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.43",
|
|
4
4
|
"description": "Install the full Vellum stack locally",
|
|
5
5
|
"bin": {
|
|
6
6
|
"vellum": "./bin/vellum.js"
|
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
"test": "bun test"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
|
-
"bin"
|
|
12
|
+
"bin",
|
|
13
|
+
"Dockerfile"
|
|
13
14
|
],
|
|
14
15
|
"dependencies": {
|
|
15
|
-
"@vellumai/assistant": "0.4.
|
|
16
|
-
"@vellumai/cli": "0.4.
|
|
17
|
-
"@vellumai/vellum-gateway": "0.4.
|
|
16
|
+
"@vellumai/assistant": "0.4.43",
|
|
17
|
+
"@vellumai/cli": "0.4.43",
|
|
18
|
+
"@vellumai/vellum-gateway": "0.4.43"
|
|
18
19
|
},
|
|
19
20
|
"devDependencies": {
|
|
20
21
|
"@types/bun": "^1.2.4"
|