Closed ledainghia closed 9 months ago
Hi @ledainghia,
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.
Please let me know if you have any other queries.
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.
This issue has been automatically marked as closed because it has no recent activity.
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