Created
August 19, 2017 20:42
-
-
Save ericwooley/91b8a7b2ca064f63cc3872dcb9aad995 to your computer and use it in GitHub Desktop.
NPM docker example
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": "docker-db-example", | |
"scripts": { | |
"initDocker": "docker run --name snapshot-test-postgres -e POSTGRES_PASSWORD=developPassword -d postgres", | |
"destroyDocker": "docker stop snapshot-test-postgres; docker rm snapshot-test-postgres" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment