fix: Add dockerignore file to clean up each ci build

This commit is contained in:
Yuxing Deng
2024-07-17 14:10:58 +08:00
parent 2f3c1e6ab5
commit aec9926ed8
3 changed files with 7 additions and 3 deletions

View File

@@ -4,5 +4,6 @@ set -e
source $(dirname $0)/version
cd "$(dirname $0)/.."
docker build -f package/Dockerfile -t "cnrancher/kube-explorer:$VERSION" .
cp dist/* package/
docker build -f package/Dockerfile -t "cnrancher/kube-explorer:$VERSION" package