webarc/Dockerfile

19 lines
310 B
Text
Raw Normal View History

2024-12-29 16:51:34 +01:00
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"]