Awiteb
672d7a2d3c
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>
15 lines
220 B
Docker
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"]
|