From 4c04d27b8ab4ab178b3ed1a843461a5ecd17702c Mon Sep 17 00:00:00 2001 From: Luiz Carvalho Date: Wed, 7 Feb 2024 11:38:24 -0300 Subject: [PATCH] fix(dockerfile): set workdir to `node-data` --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 568eb35e3..0903db580 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,13 +43,9 @@ RUN if [ -n "$SCCACHE_BUCKET" ]; then \ FROM debian:12-slim -WORKDIR /subspace - +WORKDIR /node-data COPY --from=builder /subspace/target/release/node-subspace /usr/local/bin -RUN mkdir -p ./snapshots -RUN ln -s -T /node-data/snapshots ./snapshots - # Enable extensive backtraces ENV RUST_BACKTRACE=1 ENTRYPOINT ["node-subspace"]