Files
payphone/Dockerfile
T
nyeki fcb1a786be Multiple things
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
2025-08-18 01:06:03 -03:00

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" ]