motorx 0.0.11

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