Lasted version of Nuxt not able to run in a container
See original GitHub issueEnvironment
~/website$ npx nuxi info Nuxt CLI v3.0.0-27415326.3c563fa 18:46:07 RootDir: /home/xxxx/website 18:46:08 Nuxt project info: 18:46:08
- Operating System: Linux
- Node Version: v16.14.2
- Nuxt Version: 3.0.0-27415326.3c563fa
- Package Manager: npm@8.5.0
- Bundler: Vite
- User Config: -
- Runtime Modules: -
- Build Modules: -
Reproduction
If a project with one of the latest versions of nuxt is built and containerized into a docker container, the server will not be accessible. But if you use an older version of Nuxt, keeping everything the same will not happen. for example 3.0.0-27389502.88da719 it run with no problem.
Describe the bug
The build server is not listening/responding to any call.
Additional context
The latest version of docker is been used, on a Linux server and on WSL.
Logs
No error logs are printed, it looks like everything is ok from the LOGs.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
The environment variable to set is now
NITRO_HOST
orHOST
, documented at https://nitro.unjs.io/deploy/node.html#environment-variables.Hello Daniel, yes, it was, maybe it is a good idea to change the documentation from nuxt because I got confused here.