Use the following command to build the Docker image (replace mysolutionname:somerandomidentifier
with your preferred image name and tag):
docker build --platform linux/amd64 -t mysolutionname:somerandomidentifier .
To run the solution, mount your input and output directories as follows:
docker run --rm -v $(pwd)/input:/app/input -v $(pwd)/output:/app/output --network none mysolutionname:somerandomidentifier
$(pwd)/input
should contain your input files (e.g., PDFs, JSONs).$(pwd)/output
will be used to store the output files generated by the solution.- The container runs with no network access for security.
By default, the container runs:
python run_all_challenges.py
You can override this command if needed by appending your own command to the docker run
invocation.
requirements.txt
— Python dependenciesrun_all_challenges.py
— Main entry pointapp/
— Application code and modelssrc/
— Source code modules
- Ensure your input files are placed in the
input
directory before running the container. - Outputs will be available in the
output
directory after execution.