forked from kemitix/git-next
build(docker): include default toml files in build context
This commit is contained in:
parent
c9d52a5b7f
commit
fad4867402
1 changed files with 5 additions and 3 deletions
|
@ -13,6 +13,8 @@ RUN cargo chef cook --profile "$CARGO_PROFILE" --recipe-path recipe.json
|
||||||
# Build application
|
# Build application
|
||||||
COPY Cargo.toml ./
|
COPY Cargo.toml ./
|
||||||
COPY src src
|
COPY src src
|
||||||
|
COPY default.toml ./
|
||||||
|
COPY server-default.toml ./
|
||||||
ARG CARGO_PROFILE
|
ARG CARGO_PROFILE
|
||||||
RUN cargo build --profile "$CARGO_PROFILE" --bin git-next
|
RUN cargo build --profile "$CARGO_PROFILE" --bin git-next
|
||||||
RUN if test "$CARGO_PROFILE" == "release" ; then strip target/release/git-next ; fi
|
RUN if test "$CARGO_PROFILE" == "release" ; then strip target/release/git-next ; fi
|
||||||
|
|
Loading…
Reference in a new issue