Skip to content

Instantly share code, notes, and snippets.

@summer4096
Created March 27, 2015 17:32
Show Gist options
  • Save summer4096/a4b99b486c95d6280532 to your computer and use it in GitHub Desktop.
Save summer4096/a4b99b486c95d6280532 to your computer and use it in GitHub Desktop.
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