mirror of
https://github.com/wassname/vllm.git
synced 2026-06-27 17:32:55 +08:00
[CI/Build] remove .github from .dockerignore, add dirty repo check (#9375)
This commit is contained in:
@@ -117,6 +117,9 @@ RUN --mount=type=cache,target=${CCACHE_DIR} \
|
||||
FROM base AS final
|
||||
# Import the vLLM development directory from the build context
|
||||
COPY . .
|
||||
ARG GIT_REPO_CHECK=0
|
||||
RUN --mount=type=bind,source=.git,target=.git \
|
||||
if [ "$GIT_REPO_CHECK" != 0 ]; then bash tools/check_repo.sh ; fi
|
||||
|
||||
# Package upgrades for useful functionality or to avoid dependency issues
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
|
||||
Reference in New Issue
Block a user