"deploy/vscode:/vscode.git/clone" did not exist on "0d9eb99ddd616798c2582c72aaa375dc76fddbbd"
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
......
...@@ -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