Error when deploying Node.js Express App via Dockerfile

richiemcilroy
TRIAL

a year 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

a year ago


Status changed to Solved railway[bot] about 1 year ago


richiemcilroy
TRIAL

a year ago

Cheers!


Error when deploying Node.js Express App via Dockerfile - Railway Help Station