Skip to content

Commit

Permalink
fix(dockerfile): set workdir to node-data
Browse files Browse the repository at this point in the history
  • Loading branch information
saiintbrisson committed Feb 9, 2024
1 parent 8ec16d4 commit 6753f70
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 6753f70

Please sign in to comment.