Skip to content

Commit

Permalink
Update dockerfile to run a neon follower
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Apr 23, 2020
1 parent 06da1eb commit 03cb4a0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM rust:latest as build

WORKDIR /src/blockstack-core
WORKDIR /src/stacks-blockchain

COPY . .

RUN cargo install --path . --root .
RUN cd testnet && cargo install --path . --root .

FROM debian:stable-slim
COPY --from=build /src/blockstack-core/bin /bin
RUN apt-get update && apt-get install -y --no-install-recommends libssl-dev
COPY --from=build /src/stacks-blockchain/testnet/bin /bin

CMD ["blockstack-core"]
CMD ["stacks-node", "neon"]

0 comments on commit 03cb4a0

Please sign in to comment.