mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 19:49:22 +00:00
Restore release for serai-node to obtain sane bootup times
This commit is contained in:
parent
02776c54a8
commit
6c8040f723
2 changed files with 4 additions and 4 deletions
|
@ -48,8 +48,8 @@ RUN --mount=type=cache,target=/root/.cargo \
|
|||
--mount=type=cache,target=/usr/local/cargo/git \
|
||||
--mount=type=cache,target=/serai/target \
|
||||
mkdir /serai/bin && \
|
||||
cargo build -p serai-node && \
|
||||
mv /serai/target/debug/serai-node /serai/bin
|
||||
cargo build --release -p serai-node && \
|
||||
mv /serai/target/release/serai-node /serai/bin
|
||||
FROM debian:bookworm-slim as image
|
||||
|
||||
COPY --from=mimalloc libmimalloc.so /usr/lib
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
cargo build -p serai-node && \
|
||||
mv /serai/target/debug/serai-node /serai/bin
|
||||
cargo build --release -p serai-node && \
|
||||
mv /serai/target/release/serai-node /serai/bin
|
||||
|
|
Loading…
Reference in a new issue