unitedstates / congress

Public domain data collectors for the work of Congress, including legislation, amendments, and votes.
https://github.com/unitedstates/congress/wiki
Creative Commons Zero v1.0 Universal
930 stars 202 forks source link

Fixing Dockerfile - Debian Jessie no longer available #301

Closed elianaive closed 8 months ago

elianaive commented 8 months ago

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!

JoshData commented 8 months ago

Seems good to me, thanks!