motorx 0.0.18

A reverse-proxy in pure rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ARG RUST_IMAGE=rust:1.84-slim
FROM ${RUST_IMAGE} AS build

COPY Cargo.toml Cargo.toml
COPY src/ src/
COPY motorx-core/ motorx-core

RUN cargo build --release

RUN cp target/release/motorx /motorx

FROM debian:bookworm

COPY --from=build /motorx /motorx

ENTRYPOINT [ "/motorx", "/motorx.json" ]