Created
August 2, 2016 07:51
-
-
Save sheerun/474c852350c217fbdf0c9bd954ec7c3f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
version: '2' | |
services: | |
web: | |
image: node:4-slim | |
volumes: | |
- .:/app | |
command: node /app/index.js | |
ports: | |
- "9500:9500" |
This file contains hidden or 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
var vantage = require('vantage'); | |
var express = require('express'); | |
var app = express(); | |
vantage().show(); |
This file contains hidden or 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": "server", | |
"version": "1.0.0", | |
"dependencies": { | |
"express": "^4.14.0", | |
"vantage": "^1.7.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment