add a script to get a flamegraph of collab in production (#8972)
Add `./script/collab-flamegraph` so you can profile in production (or staging) Release Notes: - N/A
This commit is contained in:
parent
675ae24964
commit
ca37d39109
2 changed files with 34 additions and 1 deletions
|
@ -22,7 +22,8 @@ RUN --mount=type=cache,target=./target \
|
|||
# Copy collab server binary to the runtime image
|
||||
FROM debian:bookworm-slim as runtime
|
||||
RUN apt-get update; \
|
||||
apt-get install -y --no-install-recommends libcurl4-openssl-dev ca-certificates linux-perf
|
||||
apt-get install -y --no-install-recommends libcurl4-openssl-dev ca-certificates \
|
||||
linux-perf binutils
|
||||
WORKDIR app
|
||||
COPY --from=builder /app/collab /app/collab
|
||||
COPY --from=builder /app/crates/collab/migrations /app/migrations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue