DEV Community

Discussion on: Setting up a NestJS project with Docker for Back-End development

Collapse
 
codefalcon95 profile image
codefalcon95

Hello, i tried this example and the prod version didnt start up always giving Error: Cannot find module '/usr/src/app/dist/main'.

Collapse
 
erezhod profile image
Erez Hod

Hi 🙂
How is your docker-compose.yml defined? also, does your app run using npm run start:prod without Docker?