From 167df85c1e1cef66189163244601f738dfa40a0b Mon Sep 17 00:00:00 2001 From: jmt-gh Date: Wed, 15 Jun 2022 22:23:36 -0700 Subject: [PATCH] add npm commands to build local docker containers --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 4ae2c66e..9b91fc03 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,9 @@ "build-win": "npm run client && pkg -t node16-win-x64 -o ./dist/win/audiobookshelf -C GZip .", "build-linux": "build/linuxpackager", "docker": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --push . -t advplyr/audiobookshelf", + "docker-amd64-local":"docker buildx build --platform linux/amd64 --load . -t advplyr/audiobookshelf-amd64-local", + "docker-arm64-local":"docker buildx build --platform linux/arm64 --load . -t advplyr/audiobookshelf-arm64-local", + "docker-armv7-local":"docker buildx build --platform linux/arm/v7 --load . -t advplyr/audiobookshelf-armv7-local", "deploy": "node dist/autodeploy" }, "bin": "prod.js",