-
Notifications
You must be signed in to change notification settings - Fork 339
Description
Summary
The Docker build process fails at Step 8/17 because the file read_cosmos_data.py is missing from the migration directory, although it is referenced in the Dockerfile.
Steps to Reproduce
Navigate to the migration directory: cd foundry-samples/migration
Run the authentication and build script: ./setup-azure-auth.sh
Observe the build error during the Docker image creation.
Observed Behavior
The build fails with the following error message:
COPY failed: file not found in build context or excluded by .dockerignore: stat read_cosmos_data.py: file does not exist
Expected Behavior
The Docker image should build successfully. All files referenced in the Dockerfile (specifically read_cosmos_data.py) should be present in the repository or the reference should be removed if the file is no longer required.
Environment
OS: Ubuntu 24.04 LTS
Docker Version: 28.2.2
Repository Branch: main
Additional Context
A search of the repository history and current structure confirms that read_cosmos_data.py is not present anywhere in the project, suggesting a mismatch between the Dockerfile and the available source files.