Skip to content

Commit c6ec540

Browse files
committed
feat: add output standalone and .dockerignore
1 parent 36096c0 commit c6ec540

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

refine-nextjs/template/.dockerignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
**/node_modules/
2+
**/dist
3+
.git
4+
npm-debug.log
5+
.coverage
6+
.coverage.*
7+
.env

refine-nextjs/template/next.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const nextConfig = {
33
<%_ if (answers["ui-framework"] === 'antd') { _%>
44
transpilePackages: ['@refinedev/antd'],
55
<%_ } _%>
6+
output: "standalone"
67
};
78

89
export default nextConfig;

0 commit comments

Comments
 (0)