- #!/bin/bash
- docker run --name "tp-belarus" --rm -d -i tp-analysis:latest || exit 1
- if [ "$1" == "--fast" ]; then
- docker exec tp-belarus sh -c "cd /home/analysis/belarus-2020-2021 && ./run.sh --fast" | tee section-3-results
- else
- docker exec tp-belarus sh -c "cd /home/analysis/belarus-2020-2021 && ./run.sh" | tee section-3-results
- fi
- docker cp tp-belarus:/home/analysis/belarus-2020-2021/appendix-a-results.tex . && \
- docker cp tp-belarus:/home/analysis/belarus-2020-2021/appendix-a-results.pdf . && \
- docker stop tp-belarus
|