mirror of
https://github.com/YuzuZensai/TrollSSH.git
synced 2026-01-06 04:32:47 +00:00
Added docker scripts
This commit is contained in:
@@ -6,7 +6,11 @@
|
|||||||
"author": "Yuzu | ユズ ♡ <yuzu@kirameki.cafe>",
|
"author": "Yuzu | ユズ ♡ <yuzu@kirameki.cafe>",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"tsc": "tsc",
|
||||||
|
"build": "tsc -b",
|
||||||
|
"docker-build": "docker build . -t ghcr.io/yuzuzensai/trollssh:latest",
|
||||||
|
"docker-run": "docker run -d --name trollssh --mount type=bind,source=\"$(pwd)\"/config,target=/home/node/app/config --network host --env-file .env ghcr.io/yuzuzensai/trollssh:latest",
|
||||||
|
"docker-push": "docker push ghcr.io/yuzuzensai/trollssh:latest",
|
||||||
"dev": "ts-node-dev --respawn --transpile-only src/index.ts"
|
"dev": "ts-node-dev --respawn --transpile-only src/index.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user