This PR fixes issues with the Dockerfile for building the United States Congress scraper Docker image. The changes include:
Updating base image to debian:buster
Using Python 3.7 (default in Debian Buster)
Replacing pip with pip3
Correcting Python path for congress.pth
Creating necessary directories
Alternatively, the PYTHONPATH environment variable can be set instead of using congress.pth.
The modified Dockerfile has been tested locally and builds successfully. Please review and merge if everything looks good.
However, certain changes have been made in order to make it work - trying to get bills via the current setup of running things does not work. I've currently made it so you can just exec in and run the usc-run necessary, but other changes may be preferred.
This PR fixes issues with the Dockerfile for building the United States Congress scraper Docker image. The changes include:
Alternatively, the PYTHONPATH environment variable can be set instead of using congress.pth.
The modified Dockerfile has been tested locally and builds successfully. Please review and merge if everything looks good.
However, certain changes have been made in order to make it work - trying to get bills via the current setup of running things does not work. I've currently made it so you can just exec in and run the usc-run necessary, but other changes may be preferred.
Thanks!