"...git@developer.sourcefind.cn:2222/OpenDAS/vllm_cscc.git" did not exist on "a130cf331ef8b91197150e5a47a09e2b9487e61b"
Unverified Commit edf847e5 authored by Alec's avatar Alec Committed by GitHub
Browse files

fix: add pre-commit cache dir and improve dockerignore (#5588)


Signed-off-by: default avataralec-flowers <aflowers@nvidia.com>
parent 66963b70
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
**/*.plan **/*.plan
**/*.etcd **/*.etcd
**/.cache/* **/.cache/*
**/__pycache__
**/*.pyc
**/*onnx* **/*onnx*
# Engine must be allowed because code contains dynamo_engine.py # Engine must be allowed because code contains dynamo_engine.py
**/*tensorrtllm_engines* **/*tensorrtllm_engines*
...@@ -43,6 +45,7 @@ container/Dockerfile* ...@@ -43,6 +45,7 @@ container/Dockerfile*
.venv .venv
.venv-docs .venv-docs
# Python # Python
__pycache__/ __pycache__/
*.pyc *.pyc
...@@ -75,4 +78,4 @@ docs/_build/ ...@@ -75,4 +78,4 @@ docs/_build/
# AI # AI
.cursor/ .cursor/
.claude/ .claude/
\ No newline at end of file
...@@ -464,7 +464,9 @@ RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=$HOME/.comman ...@@ -464,7 +464,9 @@ RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=$HOME/.comman
&& echo "$SNIPPET" >> "$HOME/.bashrc" && echo "$SNIPPET" >> "$HOME/.bashrc"
RUN mkdir -p /home/$USERNAME/.cache/ \ RUN mkdir -p /home/$USERNAME/.cache/ \
&& chmod g+w /home/$USERNAME/.cache/ && mkdir -p /home/$USERNAME/.cache/pre-commit \
&& chmod g+w /home/$USERNAME/.cache/ \
&& chmod g+w /home/$USERNAME/.cache/pre-commit
ENTRYPOINT ["/opt/nvidia/nvidia_entrypoint.sh"] ENTRYPOINT ["/opt/nvidia/nvidia_entrypoint.sh"]
CMD [] CMD []
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment