cat input.xml | python madis/src/mexec.py -f PATH/projects.sql -d PATH/projects.db > output.json
docker build -t <name>
docker run -it -v <host-dir>:/usr/app/src/data --rm --name <name> <name>
Remember to declare with an absolute path, for example ${PWD}/ or /home/user/data.
- For example
docker run -it -v $PWD/<xml_files>:/usr/app/src/data --rm --name <name> <name>
The docker images expects an xml file inside the folder and writes the result in a results.json file that is saved in the host
s filesystem.