fix: add linker flags to server build
This commit is contained in:
@@ -30,7 +30,7 @@ RUN rm -rf dist/ && bun run build:assets
|
|||||||
RUN sqlc generate
|
RUN sqlc generate
|
||||||
|
|
||||||
# Build the server and CLI tools
|
# Build the server and CLI tools
|
||||||
RUN go build -o main_server ./cmd/server
|
RUN go build -ldflags="-s -w" -o main_server ./cmd/server
|
||||||
|
|
||||||
FROM debian:bookworm-slim
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user