Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-25 05:40:29 +01:00
Make sure the dockerfile builds the project, instead of assuming the cached dummy is valid
Dieser Commit ist enthalten in:
Ursprung
2129946d14
Commit
e34f75c267
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
|
@ -53,6 +53,9 @@ RUN find . -not -path "./target*" -delete
|
|||
# To avoid copying unneeded files, use .dockerignore
|
||||
COPY . .
|
||||
|
||||
# Make sure that we actually build the project
|
||||
RUN touch src/main.rs
|
||||
|
||||
# Builds again, this time it'll just be
|
||||
# your actual source files being built
|
||||
RUN cargo build --release
|
||||
|
|
Laden …
In neuem Issue referenzieren