dciccale
NestJS application doesn't start
yes the logs are from deployment logs, good catch will look into that the package.json shouldn't be needed cause the Dockefile is calling "node" directly not npm start or anything like that. however the service on railway has "npm run start:dev" as configuration, maybe that's the issue, will check if emptying that configuration fixes it
25 replies
NestJS application doesn't start
attached. is the same one explained here https://www.tomray.dev/nestjs-docker-production
25 replies
NestJS application doesn't start
-
what i did when deploying nestjs on other platforms, is creating a multi-layered Dockerfile which does the entire building steps ending just with an image layer containing the
dist
directory built-in.
so I assume this is not contemplated specifically on nixpacks which i guess makes sense25 replies
NestJS application doesn't start
aside from the fact that i'm using the default project that comes from
nest new project-name
cli command, which comes with deps/devDeps official template from nestjs,
dependencies required only at buildtime, but not at runtime, should actually be dev deps not production deps25 replies