Add docker

This commit is contained in:
2022-03-06 20:01:19 +07:00
parent dc28788b79
commit c3815c064e
2 changed files with 31 additions and 1 deletions

View File

@@ -8,7 +8,8 @@
"scripts": {
"tsc": "tsc",
"development": "ts-node-dev ./src/index.ts --respawn --transpileOnly",
"build": "tsc -b"
"build": "tsc -b && copyfiles -u 1 configs_example/**/*.* build/configs_example/",
"docker-build": "docker build . -t cloudflare-ddns-updater:latest"
},
"name": "cloudflare-ddns-updater",
"version": "1.0.0",