Builds Docker image of backend component with multi-stage Dockerfile

Updates package.json `npm start` command
Delete unnecessary `npm run start` commands

Signed-off-by: Shakar <[email protected]>
This commit is contained in:
Shakar
2023-02-26 14:50:49 +03:00
parent 0f143adbde
commit 23418b3a09
3 changed files with 18 additions and 9 deletions
+1 -1
View File
@@ -48,7 +48,7 @@
"version": "1.0.0",
"main": "src/index.js",
"scripts": {
"start": "npm run build && node build/index.js",
"start": "node build/index.js",
"dev": "nodemon",
"swagger-autogen": "node ./swagger/index.ts",
"build": "rimraf ./build && tsc && cp -R ./src/templates ./build",