From 374a08d1ee0f1e351c72483395eeeabf93d8ce8c Mon Sep 17 00:00:00 2001 From: Will Murphy Date: Mon, 5 Dec 2022 10:07:27 -0600 Subject: [PATCH] dockerhub build scripts --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1437edb..f5ed38d 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,9 @@ }, "scripts": { "start": "node index.js", - "start:prod": "NODE_ENV=production authbind node index.js", + "build": "docker build -t datatitian/guppe .", + "publish": "docker push datatitian/guppe:latest", + "build-pub": "npm run build && npm run publish", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Will Murphy",