Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
NPM docker example
{
"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