Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ RUN bun install
COPY --from=pruner /app/out/full/ ./

# Build workspace dependencies that publish from dist/
RUN bun run --cwd packages/browser build && \
RUN bun run --cwd lib/clickhouse-builder build && \
bun run --cwd packages/browser build && \
bun run --cwd packages/effect-sdk build

# Build-time env vars (baked into the SPA bundle)
ARG VITE_API_BASE_URL
ARG VITE_MAPLE_AUTH_MODE=self_hosted
ARG VITE_ELECTRIC_SYNC_URL
ENV VITE_API_BASE_URL=$VITE_API_BASE_URL
ENV VITE_MAPLE_AUTH_MODE=$VITE_MAPLE_AUTH_MODE
ENV VITE_ELECTRIC_SYNC_URL=$VITE_ELECTRIC_SYNC_URL

RUN bun run --cwd apps/web build

Expand Down
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@effect/atom-react": "catalog:effect",
"@fontsource-variable/geist": "^5.2.9",
"@fontsource-variable/geist-mono": "^5.2.8",
"@maple-dev/browser": "workspace:*",
"@maple-dev/effect-sdk": "workspace:*",
"@maple/domain": "workspace:*",
"@maple/effect-db": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading