init
This commit is contained in:
commit
319b663694
11 changed files with 3722 additions and 0 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue