Add ability to read database password from a file
Some checks failed
API Checks / clippy (push) Has been cancelled
Deploy API / Deploy to Fly.io (push) Has been cancelled

This commit is contained in:
D. Scott Boggs 2025-05-05 07:18:21 -04:00
parent 628f9eefc3
commit 29d7c283e5
4 changed files with 318 additions and 34 deletions

View file

@ -11,7 +11,7 @@ COPY . .
# Will build and cache the binary and dependent crates in release mode
RUN --mount=type=cache,target=/usr/local/cargo,from=rust:latest,source=/usr/local/cargo \
--mount=type=cache,target=target \
cargo build --release --features datastore-adaptor && mv ./target/release/crabfit-api ./api
cargo build --release --features sql-adaptor && mv ./target/release/crabfit-api ./api
# Runtime image
FROM debian:bullseye-slim