themeselection / materio-mui-nextjs-admin-template-free

An enterprise-grade Next.js admin dashboard template. Made with developer experience first: Next.js v14 (App Router), Material UI (MUI), Tailwind CSS, TypeScript, ESLint, Prettier, VSCode Configs !! 🚀
https://themeselection.com/item/materio-free-mui-nextjs-admin-template
MIT License
1.63k stars 562 forks source link

Cannot run after build with docker #18

Closed ledainghia closed 9 months ago

ledainghia commented 1 year ago

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

Heet-Bhalodiya commented 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.

github-actions[bot] commented 9 months ago

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.

github-actions[bot] commented 9 months ago

This issue has been automatically marked as closed because it has no recent activity.