webarc/Dockerfile
2024-12-29 16:51:34 +01:00

18 lines
310 B
Docker

FROM rust:buster as builder
COPY . /app
WORKDIR /app
RUN rustup default nightly
RUN cargo build --release
FROM debian:buster
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y ca-certificates openssl monolith
COPY --from=builder /app/target/release/webarc /webarc
WORKDIR /
CMD ["/webarc"]