Files
stacks-puppet-node/Dockerfile.debian
wileyj 09244378f5 Update build command
- removed the step to , defaulting to repo root
2024-05-20 13:34:14 -07:00

22 lines
369 B
Docker

FROM rust:bookworm as build
ARG STACKS_NODE_VERSION="No Version Info"
ARG GIT_BRANCH='No Branch Info'
ARG GIT_COMMIT='No Commit Info'
WORKDIR /src
COPY . .
RUN mkdir /out
RUN cargo build --features monitoring_prom,slog_json --release
RUN cp target/release/stacks-node /out
FROM debian:bookworm-slim
COPY --from=build /out/ /bin/
CMD ["stacks-node", "mainnet"]