dciccale
dciccale
RRailway
Created by dciccale on 8/20/2023 in #✋|help
NestJS application doesn't start
i'll mark this solved
25 replies
RRailway
Created by dciccale on 8/20/2023 in #✋|help
NestJS application doesn't start
thanks @Brody for your guidance appreciate it
25 replies
RRailway
Created by dciccale on 8/20/2023 in #✋|help
NestJS application doesn't start
success 🤩 !
25 replies
RRailway
Created by dciccale on 8/20/2023 in #✋|help
NestJS application doesn't start
25 replies
RRailway
Created by dciccale on 8/20/2023 in #✋|help
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
RRailway
Created by dciccale on 8/20/2023 in #✋|help
NestJS application doesn't start
and .dockerignore
Dockerfile
.dockerignore
node_modules
npm-debug.log
dist
Dockerfile
.dockerignore
node_modules
npm-debug.log
dist
25 replies
RRailway
Created by dciccale on 8/20/2023 in #✋|help
NestJS application doesn't start
which works out of the box for any default NestJS setup created with nest cli
25 replies
RRailway
Created by dciccale on 8/20/2023 in #✋|help
NestJS application doesn't start
attached. is the same one explained here https://www.tomray.dev/nestjs-docker-production
25 replies
RRailway
Created by dciccale on 8/20/2023 in #✋|help
NestJS application doesn't start
i can't share this repo unfortunately, maybe i could prepare a minimal test repo with similar setup just simpler
25 replies
RRailway
Created by dciccale on 8/20/2023 in #✋|help
NestJS application doesn't start
25 replies
RRailway
Created by dciccale on 8/20/2023 in #✋|help
NestJS application doesn't start
OK I will go that direction providing my own Dockerfile to railway, i'll let you know, thanks for your fast responses
25 replies
RRailway
Created by dciccale on 8/20/2023 in #✋|help
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 sense
25 replies
RRailway
Created by dciccale on 8/20/2023 in #✋|help
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 deps
25 replies
RRailway
Created by dciccale on 8/20/2023 in #✋|help
NestJS application doesn't start
why not?
25 replies