File tree 3 files changed +249
-46
lines changed 3 files changed +249
-46
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ COPY --from=frontend /app/dist /app/public
57
57
58
58
COPY --from=backend /app/build /app/build
59
59
60
- COPY --from=backend /app/src/utils/templates /app/build/utils/templates
61
-
62
60
EXPOSE 3002
63
61
64
62
CMD ["sh" , "-c" , "node --import tsx/esm ./build/index.js" ]
Original file line number Diff line number Diff line change 20
20
"dev" : " tsx watch ./src/index.ts" ,
21
21
"prod" : " node --import tsx/esm ./build/index.js" ,
22
22
"prod-node18" : " node --loader tsx/esm ./build/index.js" ,
23
- "build" : " pnpm clean && tsc" ,
23
+ "build" : " pnpm clean && tsc && pnpm copy" ,
24
+ "copy" : " copyfiles -u 1 src/utils/templates/* build" ,
24
25
"clean" : " rimraf build" ,
25
26
"lint" : " eslint ." ,
26
27
"lint:fix" : " eslint . --fix" ,
58
59
"@types/nodemailer" : " ^6.4.14" ,
59
60
"@types/request-ip" : " ^0.0.41" ,
60
61
"@types/speakeasy" : " ^2.0.10" ,
62
+ "copyfiles" : " ^2.4.1" ,
61
63
"eslint" : " ^8.56.0" ,
62
- "rimraf" : " ^4.3.0 " ,
64
+ "rimraf" : " ^5.0.5 " ,
63
65
"typescript" : " ~5.3.3"
64
66
}
65
67
}
You can’t perform that action at this time.
0 commit comments