Added docker publishing

This commit is contained in:
2021-04-03 01:07:00 +11:00
parent 547d5dba1c
commit b389f078a5
+4 -1
View File
@@ -6,7 +6,10 @@
"scripts": {
"start": "node server/server.js",
"dev": "npm run watch:server",
"watch:server": "nodemon . --ext js,jsx,json --ignore 'node_modules/*'"
"watch:server": "nodemon . --ext js,jsx,json --ignore 'node_modules/*'",
"docker": "npm run docker:build && npm run docker:push",
"docker:build": "docker build . --platform amd64 --platform arm --tag docker.krgamestudios.com/krgamestudios/02-auth:latest",
"docker:push": "docker push docker.krgamestudios.com/krgamestudios/02-auth:latest"
},
"repository": {
"type": "git",