Last active
August 29, 2015 14:18
-
-
Save ryanramage/f211556fdfc8244554e4 to your computer and use it in GitHub Desktop.
Example package.json using docker build run push
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "example", | |
"version": "2.1.4", | |
"description": "Example docker", | |
"scripts": { | |
"start": "node bin/cli", | |
"docker-build": "rm -rf node_modules && npm i --production && ./node_modules/docker-build-run-push/docker-build", | |
"docker-run": "./node_modules/docker-build-run-push/docker-run", | |
"docker-push": "rm -rf node_modules && npm i && make build && npm prune && ./node_modules/docker-build-run-push/docker-push" | |
}, | |
"dependencies": { | |
"docker-build-run-push": "^1.2.1" | |
}, | |
"docker-registry": "docker.yourcloud.com" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment