You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried deploying them to a server with docker installed. But I try with the docker file which i get direct from Nextjs document. But when running docker, the docker side reports "Error: Cannot find module '/app/server.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',"
Additional data
The text was updated successfully, but these errors were encountered:
We do not have expertise in Docker and we have never tried it with our template.
We might think about adding a Docker file as a feature in a future update, but we can't promise this. If you need Docker now, you'll have to set it up yourself.
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you for raising the concern.
Steps to reproduce
BUILD IMAGE WITH DOCKERFILE
What is expected?
Error MODULE_NOT_FOUND
What is actually happening?
I tried deploying them to a server with docker installed. But I try with the docker file which i get direct from Nextjs document. But when running docker, the docker side reports "Error: Cannot find module '/app/server.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',"
Additional data
The text was updated successfully, but these errors were encountered: