parent
83b2eec003
commit
0b6e74c1e0
1 changed files with 6 additions and 1 deletions
|
@ -6,12 +6,17 @@ WORKDIR /app
|
|||
RUN rustup default nightly
|
||||
RUN cargo build --release
|
||||
|
||||
RUN git clone "https://github.com/Y2Z/monolith" /monolith
|
||||
WORKDIR /monolith
|
||||
RUN cargo build --release
|
||||
|
||||
FROM debian:buster
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
RUN apt-get install -y ca-certificates openssl monolith
|
||||
RUN apt-get install -y ca-certificates openssl
|
||||
|
||||
COPY --from=builder /app/target/release/webarc /webarc
|
||||
COPY --from=builder /monolith/target/release/monolith /usr/bin/monolith
|
||||
|
||||
WORKDIR /
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue