myoauth/Dockerfile

10 lines
197 B
Docker
Raw Permalink Normal View History

2024-04-02 04:15:12 +01:00
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"]