Remove ArgoCD and Helm dependencies, add everything unnecessary to .dockerignore, add support for DB authentication in Payphone's CLI, make Scylla be fully managed by Ansible, add Payphone deployment ansible file
17 lines
264 B
Docker
17 lines
264 B
Docker
FROM rust:latest AS builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY Cargo.toml Cargo.lock ./
|
|
|
|
COPY . .
|
|
|
|
RUN cargo build --release
|
|
|
|
FROM debian:bookworm
|
|
|
|
COPY --from=builder /app/target/release/payphone /usr/local/bin/payphone
|
|
|
|
ENTRYPOINT [ "/usr/local/bin/payphone" ]
|
|
CMD [ "start" ]
|