feat: compile typescript in docker build

This commit is contained in:
2026-06-16 15:18:48 +02:00
parent 653f8f85e1
commit 6cbb6209c4

View File

@@ -29,7 +29,7 @@ RUN bun install --frozen-lockfile
COPY . .
# Ensure dist is clean at build time (belt + suspenders)
RUN rm -rf dist/ && bun run build:assets
RUN rm -rf dist/ && bun run build:assets && bun run build:ts
# Build the server and CLI tools
RUN go build -ldflags="-s -w" -o main_server ./cmd/server