Dockerize NYC 5 Boroughs address extractor
An image tagged with warenix/addressparser-docker
will be built.
cd script
sh build.sh
Refer to official addressparser's Readme how to apply APP_ID and APP_KEY.
docker run -ti --rm -p 5000:5000 \
-e DOITT_CROL_APP_ID={{APP_ID}}\
-e DOITT_CROL_APP_KEY={{APP_KEY}}\
warenix/addressparser-docker python /app/webserver.py
On success you should see console output like this:
* Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)