I deployed a docker file that contains multiple services and express app that serves react is one of them.
When I try to access the main webpage, I get 404 with following logs in the deployment
Error: ENOENT: no such file or directory, stat '/usr/src/app/noodle/build/index.html'
Error: ENOENT: no such file or directory, stat '/usr/src/app/noodle/build/index.html'
I tried to set the Caddyfile and nixpacks.toml files based on this repo here
https://github.com/brody192/vite-react-template/blob/main/nixpacks.toml to no luck
https://popspace-demo-production.up.railway.app/
GitHub
Contribute to brody192/vite-react-template development by creating an account on GitHub.