mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-03 17:40:34 +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=/usr/local/cargo/git \
|
||||||
--mount=type=cache,target=/serai/target \
|
--mount=type=cache,target=/serai/target \
|
||||||
mkdir /serai/bin && \
|
mkdir /serai/bin && \
|
||||||
cargo build -p serai-node && \
|
cargo build --release -p serai-node && \
|
||||||
mv /serai/target/debug/serai-node /serai/bin
|
mv /serai/target/release/serai-node /serai/bin
|
||||||
FROM debian:bookworm-slim as image
|
FROM debian:bookworm-slim as image
|
||||||
|
|
||||||
COPY --from=mimalloc libmimalloc.so /usr/lib
|
COPY --from=mimalloc libmimalloc.so /usr/lib
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
cargo build -p serai-node && \
|
cargo build --release -p serai-node && \
|
||||||
mv /serai/target/debug/serai-node /serai/bin
|
mv /serai/target/release/serai-node /serai/bin
|
||||||
|
|
Loading…
Reference in a new issue