Files
stacks-puppet-node/.github/actions/docsgen/Dockerfile.docsgen
2020-08-13 12:20:21 -05:00

17 lines
284 B
Docker

FROM rust:stretch as build
WORKDIR /src
COPY . .
RUN apt-get update && apt-get install -y git
RUN cargo build
RUN mkdir /out
RUN /src/target/debug/blockstack-core docgen > /out/clarity-reference.json
FROM scratch AS export-stage
COPY --from=build /out/clarity-reference.json /