parent
5ba1b3efa6
commit
69a9eb4d9d
1 changed files with 4 additions and 4 deletions
|
@ -1,15 +1,15 @@
|
||||||
FROM rust:buster as builder
|
FROM rust:buster as builder
|
||||||
|
|
||||||
COPY . /app
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
RUN rustup default nightly
|
RUN rustup default nightly
|
||||||
RUN cargo build --release
|
|
||||||
|
|
||||||
RUN git clone "https://github.com/Y2Z/monolith" /monolith
|
RUN git clone "https://github.com/Y2Z/monolith" /monolith
|
||||||
WORKDIR /monolith
|
WORKDIR /monolith
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
WORKDIR /app
|
||||||
|
RUN cargo build --release
|
||||||
|
|
||||||
FROM debian:buster
|
FROM debian:buster
|
||||||
|
|
||||||
RUN apt-get update && apt-get upgrade -y
|
RUN apt-get update && apt-get upgrade -y
|
||||||
|
|
Loading…
Add table
Reference in a new issue