Copy static files in build container

This commit is contained in:
Valentin Brandl 2019-07-27 16:26:36 +02:00
parent 9c13cb06bb
commit 662aa5ab69
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -10,6 +10,7 @@ RUN cargo build --release
# delete build cache to prevent caching issues later on # delete build cache to prevent caching issues later on
RUN rm -r ./target/x86_64-unknown-linux-musl/release/.fingerprint/gitache-* RUN rm -r ./target/x86_64-unknown-linux-musl/release/.fingerprint/gitache-*
COPY ./static ./static
COPY ./src ./src COPY ./src ./src
# build source code # build source code
RUN cargo build --release RUN cargo build --release