We could consider installing / caching expensive pnpm dependencies like libpg-query in the Dockerfile layers before this using pnpm fetch, so that installation is faster - building libpg-query takes the longest
Maybe also other dependencies of the ESLint config? (not only @ts-safeql/eslint-plugin but also others too?)