Open
Description
Version
Azure Functions Core Tools
Core Tools Version: 4.0.6821 Commit hash: N/A +c09a2033faa7ecf51b3773308283af0ca9a99f83 (64-bit)
Function Runtime Version: 4.1036.1.23224
Description
I currently try to make the .funcignore more deterministic by using the git-like antipattern to only include the files needed to deploy the function.
#.funcignore
# Ignore everything
*
!.funcignore
!function_app.py
!host.json
!requirements.txt
which results in:
# log output
1:09:17 PM func-example-02: Starting deployment...
1:09:17 PM func-example-02: Creating zip package...
1:09:17 PM func-example-02: Adding 0 files to zip package...
1:09:17 PM func-example-02: Zip package size: 22 B
Steps to reproduce
- create .funcignore
- deploy function
Activity