UltimaHoarder / UltimaScraper

Scrape all the media from an OnlyFans account - Updated regularly
GNU General Public License v3.0
3.88k stars 611 forks source link

Docker image fails to build due to psycopg2 build failure. #2090

Open deafmute1 opened 3 months ago

deafmute1 commented 3 months ago

Docker image fails to build due to Error: pg_config executable not found. pg_config is required to build psycopg2 from source.

Quick solution is to change base image from python3.10-slim to python3.10 - it builds fine then.

Alternatively you can manually call apt as necessary in dockerfile to setup environment as necessary to install psycopg2