Skip to content
Merged
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 docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ services:
restart: unless-stopped

web:
build: ./web
build:
context: ./web
additional_contexts:
callit-api: ./packages-js/callit-api
# SSR + static server. Talks to the backend/keeper over their public URLs
# (baked into the bundle at build time from web/.env.production), so it
# needs no compose-network links. Point trycallit.xyz at this service.
Expand Down
5 changes: 4 additions & 1 deletion web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
FROM node:24-bookworm-slim

WORKDIR /app
WORKDIR /app/web

RUN npm install -g bun@1.2.10

# @callit/api is a file: dependency one level above the web package, so it must
# be present before the frozen install resolves the lockfile.
COPY --from=callit-api . /app/packages-js/callit-api
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile

Expand Down
Loading