diff --git a/refine-nextjs/template/.dockerignore b/refine-nextjs/template/.dockerignore new file mode 100644 index 00000000..95a8ae34 --- /dev/null +++ b/refine-nextjs/template/.dockerignore @@ -0,0 +1,7 @@ +**/node_modules/ +**/dist +.git +npm-debug.log +.coverage +.coverage.* +.env diff --git a/refine-nextjs/template/next.config.mjs b/refine-nextjs/template/next.config.mjs index 2bee5e0c..2d8a7aec 100644 --- a/refine-nextjs/template/next.config.mjs +++ b/refine-nextjs/template/next.config.mjs @@ -3,6 +3,7 @@ const nextConfig = { <%_ if (answers["ui-framework"] === 'antd') { _%> transpilePackages: ['@refinedev/antd'], <%_ } _%> + output: "standalone" }; export default nextConfig;