Added docker push

This commit is contained in:
2022-08-10 10:52:00 +07:00
parent d503345bfc
commit a5afc8d6fa
+1
View File
@@ -43,6 +43,7 @@
"build": "tsc -b && copyfiles -u 1 configs_example/**/*.* dist/configs_example/",
"docker-build": "docker build . -t ghcr.io/yuzuzensai/yumi:latest",
"docker-run": "docker run -d --name yumi --mount type=bind,source=\"$(pwd)\"/configs,target=/home/node/app/configs --network host --env-file .env ghcr.io/yuzuzensai/yumi:latest",
"docker-push": "docker push ghcr.io/yuzuzensai/yumi:latest",
"production": "tsc && node ./dist/index.js",
"test": "mocha -r ts-node/register tests/**/*.ts"
},