Hi, how to ignore files in the zip file created wi...
# general
a
Hi, how to ignore files in the zip file created with ploomber? gitignore file is not taking into account apparently and I get the limit to 50Mb size, so no deploy is posssible.
g
When using the UI, and trying to zip a file with the CLI, you can use
-x
to exclude files and folders, like:
Copy code
zip -r ~/app.zip ./* -x "./venv/*"
And using the @, you can use the content of a file:
Copy code
zip -r ~/app.zip ./* -x@.gitignore
Above is for a manual deployment. As far as our CLI is concerned, only pyc, git are ignore by default. To add some, you can add the
ignore
field in the config file. https://docs.cloud.ploomber.io/en/latest/user-guide/cli.html#ignore-a-file-or-directory