Merge branch 'main' of https://perditum.com/perditum/account-rs
This commit is contained in:
commit
97ae20038d
1 changed files with 2 additions and 1 deletions
|
|
@ -7,7 +7,8 @@ RUN apk add --no-cache musl-dev openssl-dev openssl-libs-static protobuf-dev lld
|
|||
WORKDIR /app
|
||||
|
||||
# this optimizes build time by putting the dependencies in a seperate docker layer, speeding up future builds
|
||||
COPY mii ./
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
COPY mii ./mii
|
||||
RUN mkdir src && echo "fn main() {}" > src/main.rs && cargo fetch
|
||||
|
||||
COPY . .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue