myoauth/Dockerfile

10 lines
197 B
Docker

FROM rust:1.74.1 as builder
WORKDIR /app
ADD . /app
RUN cargo build --release
FROM debian:12.5
RUN mkdir /myoauth
COPY --from=builder /app/target/release/myoauth /myoauth
CMD ["/myoauth/myoauth"]