Build the docker image:
docker build -t google_mat_dist_api .
Run like this:
docker run --env-file .env -v ./ODs_SP_Survey.csv:/csv.csv -t google_mat_dist_api --csv /csv.csv
The .env
contains a line like this:
GOOGLE_MAPS_API_KEY=xxxx-xxxxxxxxxxxxxxx
pip install poetry
poetry install
poetry shell
./main.py --apikey xxx-xxxxxxxxxxxxx --csv ./ODs_SP_Survey.csv