feat: compile typescript in docker build

This commit is contained in:
2026-06-16 15:18:48 +02:00
committed by Milas Holsting
parent 2ec1cdec38
commit 43a1fff446

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