geforkt von mirrored/vaultwarden
Add build.rs to dockerfile
Dieser Commit ist enthalten in:
Ursprung
a6631c2ea8
Commit
b8326a15a3
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
|
@ -33,9 +33,10 @@ FROM rust as build
|
|||
RUN USER=root cargo new --bin app
|
||||
WORKDIR /app
|
||||
|
||||
# Copies over *only* your manifests and vendored dependencies
|
||||
# Copies over *only* your manifests and build files
|
||||
COPY ./Cargo.* ./
|
||||
COPY ./rust-toolchain ./rust-toolchain
|
||||
COPY ./build.rs ./build.rs
|
||||
|
||||
# Builds your dependencies and removes the
|
||||
# dummy project, except the target folder
|
||||
|
|
Laden …
In neuem Issue referenzieren