Skip to content

Instantly share code, notes, and snippets.

@timlesallen
Last active May 17, 2022 12:43
Show Gist options
  • Save timlesallen/a7292bd1fb1674abb9a7fede9c08f7cd to your computer and use it in GitHub Desktop.
Save timlesallen/a7292bd1fb1674abb9a7fede9c08f7cd to your computer and use it in GitHub Desktop.
services:
myservice:
volumes: npm-cache:/root/.npm
command: npm run install-start
volumes:
npm-cache:
external: false
"scripts": {
"start": "node server",
"install-start": "npm install && npm start"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment