oxidetalis/crates/oxidetalis/Dockerfile
Awiteb 672d7a2d3c
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Update Contributors / Update Contributors (push) Successful in 4s
Rust CI / Rust CI (push) Successful in 5m33s
chore: Docker improvments
Replace `as` with `AS`
- Remove `version` from `docker-compose.yml`
- Add database configration to oxidetalis environment
- Add `healthcheck` for the database

Signed-off-by: Awiteb <a@4rs.nl>
2024-07-23 02:53:26 +03:00

15 lines
220 B
Docker

FROM rust:1.70.0-slim-bullseye AS builder
WORKDIR /builder
COPY ./ ./
RUN cargo build --release
FROM debian:bullseye-slim
WORKDIR /app
COPY --from=builder /builder/target/release/oxidetalis .
CMD ["./oxidetalis"]