chore: keep .git folder in docker (#16733)

This commit is contained in:
Matthias Seitz
2025-06-10 09:52:29 +02:00
committed by GitHub
parent 889004bb6d
commit e08a56a564

View File

@@ -33,7 +33,7 @@ ENV FEATURES=$FEATURES
RUN cargo chef cook --profile $BUILD_PROFILE --features "$FEATURES" --recipe-path recipe.json
# Build application
COPY --exclude=.git --exclude=dist . .
COPY --exclude=dist . .
RUN cargo build --profile $BUILD_PROFILE --features "$FEATURES" --locked --bin reth
# ARG is not resolved in COPY so we have to hack around it by copying the