File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -11,23 +11,13 @@ You need PostgreSQL client libraries & tools installed. An easy way to check is
1111Some ways I've done it in the past:
1212
1313- On macOS: ` brew install libpq `
14- - On Ubuntu/Debian: ` apt-get install libpq-dev g++ make `
14+ - On Ubuntu/Debian and Debian-based Node images : ` apt-get install libpq-dev python3 g++ make `
1515- On RHEL/CentOS: ` yum install postgresql-devel `
1616- On Windows:
1717 1 . Install Visual Studio C++ (successfully built with Express 2010). Express is free.
1818 2 . Install PostgreSQL (` http://www.postgresql.org/download/windows/ ` )
1919 3 . Add your Postgre Installation's ` bin ` folder to the system path (i.e. ` C:\Program Files\PostgreSQL\9.3\bin ` ).
2020 4 . Make sure that both ` libpq.dll ` and ` pg_config.exe ` are in that folder.
21- - On Docker:
22- ``` Docker
23- FROM node:24-slim
24- ENV DEBIAN_FRONTEND=noninteractive
25- RUN apt-get update \
26- && apt-get -y install libpq-dev python3 g++ make \
27- && apt-get autoremove -y \
28- && apt-get clean -y \
29- && rm -rf /var/lib/apt/lists/*
30- ```
3121
3222Afterwards ` pg_config ` should be in your path. Then...
3323
You can’t perform that action at this time.
0 commit comments