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