Changed docker scripts and repo settings

This commit is contained in:
2022-10-30 22:21:46 +07:00
committed by GitHub
parent e32ccf17e2
commit cf956f96ce
+5 -5
View File
@@ -45,16 +45,16 @@
"tsc": "tsc",
"development": "ts-node-dev ./src/index.ts --respawn --transpileOnly",
"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",
"docker-build": "docker build . -t ghcr.io/kirameki-cafe/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/kirameki-cafe/yumi:latest",
"docker-push": "docker push ghcr.io/kirameki-cafe/yumi:latest",
"production": "tsc && node ./dist/index.js",
"test": "mocha -r ts-node/register tests/**/*.ts"
},
"name": "yumi",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/YuzuZensai/Yumi.git",
"author": "YuzuZensai <contact@kirameki.pink>",
"repository": "https://github.com/kirameki-cafe/Yumi.git",
"author": "Kirameki Café <contact@kirameki.cafe>",
"license": "GPL-3.0"
}