Abort collaboration process if any thread panics

This commit is contained in:
Antonio Scandurra 2023-01-27 09:50:59 +01:00
parent eca6115e4b
commit 647d9861b1
2 changed files with 1 additions and 2 deletions

View File

@ -84,5 +84,3 @@ split-debuginfo = "unpacked"
[profile.release] [profile.release]
debug = true debug = true

View File

@ -5,6 +5,7 @@ WORKDIR app
COPY . . COPY . .
# Compile collab server # Compile collab server
ARG CARGO_PROFILE_RELEASE_PANIC=abort
RUN --mount=type=cache,target=./script/node_modules \ RUN --mount=type=cache,target=./script/node_modules \
--mount=type=cache,target=/usr/local/cargo/registry \ --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=./target \ --mount=type=cache,target=./target \