Closed benbjohnson closed 2 months ago
Replying to https://github.com/superfly/flyctl/issues/3404#issuecomment-2021341396
flyctl detected correctly that i am using nuxt, and i have nuxt config of course. I dont know how but after deployment i saw that the server was rebooting and later i checked the dockerfile that flyctl launch
generated, it was pointing to index.js as entry file and i had to change that....
Okay, looking at the Dockerfile template, i guess the cli did other changes to fit my project, for example it added PUPPETEER_EXECUTABLE_PATH
in the dockerfile with no manual change from me, just running fly launch
Take a look around this project. As you can see, the fix for this issue was trivial. If you see other ways in which the dockerfile produced can do the right thing simply by looking at your source (and in particular, your package.json), let us know with issues or pull requests.
Moving bug report from https://github.com/superfly/flyctl/issues/3404