Error when deploying Node.js Express App via Dockerfile

richiemcilroyTRIAL

10 months ago

I'm deploying a Node.js Express API via a Dockerfile, but only seem to get "502 Bad Gateway - Application failed to respond" when visiting the URL that points to it.

Here's a link to the codebase:

https://github.com/CapSoftware/Cap/tree/main/apps/tasks

Not getting any errors in the logs... last logs are:> tasks@0.2.6 start

Jun 18 17:36:58

Cap

> ts-node src/index.ts

Jun 18 17:37:01

Cap

Listening: http://localhost:3002If anyone has any ideas, or can spot anything in the codebase, would greatly appreciate it!

Solved

2 Replies

10 months ago


Status changed to Solved railway[bot] 11 months ago


richiemcilroyTRIAL

10 months ago

Cheers!