chore(monorepo): delta, january, quark

This commit is contained in:
Paul Makles
2022-06-02 00:04:22 +01:00
parent 5d8432e267
commit 5120b071d1
232 changed files with 18094 additions and 554 deletions

19
crates/bonfire/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# Build Stage
FROM rustlang/rust:nightly-slim AS builder
USER 0:0
WORKDIR /home/rust/src
RUN USER=root cargo new --bin bonfire
WORKDIR /home/rust/src/bonfire
RUN apt-get update && apt-get install -y libssl-dev pkg-config
COPY Cargo.toml Cargo.lock ./
COPY src ./src
RUN cargo install --locked --path .
# Bundle Stage
FROM debian:buster-slim
RUN apt-get update && apt-get install -y ca-certificates
COPY --from=builder /usr/local/cargo/bin/bonfire ./
EXPOSE 9000
CMD ["./bonfire"]