arhammusheer
HOBBYOP
4 months ago
I am deploying a nextjs app with prisma
the way I do local builds is
npm ci (installs node modules)
npm postinstall (Automatically runs after npm ci) - This step is my prisma generate
npm run build
npm start (Deploy command)
Looking into railpack logs it seems it's ignoring postinstall. Am i doing something wrong here?
6 Replies
4 months ago
RAILPACK_INSTALL_CMD="npm ci && npm postinstall" mayhaps?
4 months ago
I could do this but just wanted to be sure if this is intentional or a bug
If postinstall is added later i'd be doing a double post install step