This commit is contained in:
JMARyA 2024-12-29 16:51:34 +01:00
commit 319b663694
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
11 changed files with 3722 additions and 0 deletions

18
Dockerfile Normal file
View file

@ -0,0 +1,18 @@
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"]