Add docker build script

This commit is contained in:
2022-03-05 22:25:09 +07:00
parent f94fe9c194
commit 8dab2c573d
+1 -1
View File
@@ -41,7 +41,7 @@
"tsc": "tsc", "tsc": "tsc",
"development": "ts-node-dev ./src/index.ts --respawn --transpileOnly", "development": "ts-node-dev ./src/index.ts --respawn --transpileOnly",
"build": "tsc -b && copyfiles -u 1 configs_example/**/*.* build/configs_example/", "build": "tsc -b && copyfiles -u 1 configs_example/**/*.* build/configs_example/",
"start": "node ./build/index.js", "docker-build": "docker build . -t yumi:latest",
"production": "tsc && node ./build/index.js", "production": "tsc && node ./build/index.js",
"test": "mocha -r ts-node/register tests/**/*.ts" "test": "mocha -r ts-node/register tests/**/*.ts"
}, },