Skip to content

Instantly share code, notes, and snippets.

@Luziberto
Forked from lucianobragaweb/docker-compose.yml
Created May 2, 2020 13:15
Show Gist options
  • Save Luziberto/d955d794c2d212639f7c1684147d35b5 to your computer and use it in GitHub Desktop.
Save Luziberto/d955d794c2d212639f7c1684147d35b5 to your computer and use it in GitHub Desktop.
Docker Compose para Node.js
version: "2"
services:
node:
image: "node:12"
working_dir: /app
volumes:
- ./:/app
expose:
- "8080"
ports:
- "8080:8080"
command: >
sh -c "npm i && npm start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment