fix build project with start docker
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"start": "nest start",
|
||||
"start:dev": "nest start --watch",
|
||||
"start:debug": "nest start --debug --watch",
|
||||
"start:prod": "node dist/main",
|
||||
"start:prod": "node dist/src/main.js",
|
||||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
|
||||
@@ -26,4 +26,4 @@ ENV PORT=3001
|
||||
|
||||
EXPOSE 3001
|
||||
|
||||
CMD ["sh", "-c", "pnpm exec prisma migrate deploy && node dist/main.js"]
|
||||
CMD ["sh", "-c", "pnpm exec prisma migrate deploy && node dist/src/main.js"]
|
||||
|
||||
Reference in New Issue
Block a user