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 !! 🚀

Home Page:https://themeselection.com/item/materio-free-mui-nextjs-admin-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot run after build with docker

ledainghia opened this issue · comments

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

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.