Closed racinmat closed 7 months ago
Is not docker-py that does the tar, but just simple python ziip/tar code that uploads the required cloud build docker context dir for cloud bukld
I will look into using .dockerignore file and skip any entries from the docker context zip.
fixed in https://github.com/avast/wanna-ml/pull/119 and released in 0.3.3
Contact Details
No response
What happened?
Wanna trying to upload my
.idea
directorywanna.yaml file
wanna-ml CLI command
Relevant log output
docker-py tars the whole build directory and sends it to the docker-machine
excluding large folders and files unrelated to docker build can save a lot of time on each build
wanna project
local params README.md src/wanna_heur_eml/pipeline.py wanna.yaml build
Dev & Python folders
.dockerignore .git .gitignore .idea .vscode venv pycache .pyc .pyo .pyd .Python env pip-log.txt pip-delete-this-directory.txt .tox .coverage .coverage. .cache nosetests.xml coverage.xml .cover .log .git .mypy_cache .pytest_cache .hypothesis .ruff_cache htmlcov