This commit is contained in:
+1
-1
@@ -40,4 +40,4 @@ USER appuser
|
|||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
EXPOSE 4000
|
EXPOSE 4000
|
||||||
|
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "run" , "start:prod"]
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
"start": "nest start dist/main",
|
"start": "nest start dist/main",
|
||||||
"start:dev": "nest start --watch",
|
"start:dev": "nest start --watch",
|
||||||
"start:debug": "nest start --debug --watch",
|
"start:debug": "nest start --debug --watch",
|
||||||
"start:prod": "node --max-old-space-size=2048 dist/main",
|
"start:prod": "node --max-old-space-size=2048 dist/src/main.js",
|
||||||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:watch": "jest --watch",
|
"test:watch": "jest --watch",
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ export class AuthService {
|
|||||||
|
|
||||||
await this.otpService.set(phone, code)
|
await this.otpService.set(phone, code)
|
||||||
|
|
||||||
// await this.smsService.sendotp(normalizedPhone, code);
|
await this.smsService.sendotp(phone, code);
|
||||||
|
|
||||||
return { code };
|
return { code };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user