We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18623b4 commit cd8aa33Copy full SHA for cd8aa33
apps/hono-example/Dockerfile
@@ -7,9 +7,15 @@ WORKDIR /app
7
COPY . .
8
9
# Install dependencies for the entire monorepo
10
-# Do not use --frozen-lockfile to avoid lockfile version mismatch errors
11
RUN bun install
12
+# Build workspace packages in dependency order:
13
+# 1. engine (no internal deps)
14
+# 2. adapter-hono and plugin-cache (both depend on engine)
15
+RUN bun run --cwd packages/engine build
16
+RUN bun run --cwd packages/plugin-cache build
17
+RUN bun run --cwd packages/adapter-hono build
18
+
19
# Set environment to production
20
ENV NODE_ENV=production
21
0 commit comments