feat: compile typescript in docker build
This commit is contained in:
@@ -29,7 +29,7 @@ RUN bun install --frozen-lockfile
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Ensure dist is clean at build time (belt + suspenders)
|
# 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
|
# Build the server and CLI tools
|
||||||
RUN go build -ldflags="-s -w" -o main_server ./cmd/server
|
RUN go build -ldflags="-s -w" -o main_server ./cmd/server
|
||||||
|
|||||||
Reference in New Issue
Block a user