charms 0.5.1

Enchant Bitcoin with your own spells ✨
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM golang AS base
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN go version && rustc --version && cargo --version
RUN apt update && apt install -y build-essential pkg-config clang libclang-dev libssl-dev && rm -rf /var/lib/apt/lists/*
WORKDIR /app

FROM base AS builder
COPY . .
RUN cargo install --locked --path . --bin charms

FROM ubuntu AS runtime
COPY --from=builder /root/.cargo/bin/charms /usr/local/bin
CMD ["charms", "server"]