Created
March 27, 2015 17:32
-
-
Save summer4096/a4b99b486c95d6280532 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
from('debian', 'wheezy') | |
comment` | |
Comment goes here. | |
Whitespace is intelligently preserved. | |
This is nifty. | |
` | |
env({ | |
NGINX_VERSION: '1.7.11-1~wheezy', | |
IOJS_VERSION: '1.6.2' | |
}) | |
require('./nginx') | |
require('./iojs') | |
run('useradd -ms /bin/bash static') | |
add('.', '/home/static/data') | |
workdir('/home/static/data') | |
run` | |
/iojs/bin/npm install | |
/iojs/bin/npm run build | |
` | |
expose(80, 443) | |
cmd('nginx', '-c', '/home/static/nginx/nginx.conf') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment