Running astro deploy with astro-cli v1.19.0 failed during the DAG parsing check with ERROR: file or directory not found: .astro/test_dag_integrity_default.py. The CLI started validating DAGs against a test file inside the .astro directory, but that directory never made it into the built image. A user found the root cause: their .dockerignore excluded .astro, so the file was missing from the image. The immediate workaround is to add !.astro/test_dag_integrity_default.py to .dockerignore so the file is included. A maintainer shipped a proper fix in CLI 1.19.1, and the reporter confirmed the fix worked.