I am creating a postgres-based backend and was wondering if pg-native is supported due to it’s superior performance in node.
It should, but will require you to provide a Dockerfile. assuming yourDockerfile
looks something like: https://raw.githubusercontent.com/superfly/flyctl/master/scanner/templates/nuxtjs/Dockerfile, you should be able to copy the Ubuntu/Debian instruction into your Dockerfile from the: pg-native - npm (npmjs.com) page, preceded by the word RUN
. Put it after the first FROM
line. The final line will look like:
RUN apt-get install libpq-dev g++ make