Fix nodejs 8.x install in vagrant (#8105)

This commit is contained in:
mimikun 2018-07-31 21:38:31 +09:00 committed by Eugen Rochko
父節點 13ac8ca66a
當前提交 9ae53ad59e
共有 1 個文件被更改,包括 1 次插入1 次删除

2
Vagrantfile vendored
查看文件

@ -12,7 +12,7 @@ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.yarnpkg.com/debian/ stable main'
# Add repo for NodeJS
curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
# Add firewall rule to redirect 80 to PORT and save
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port #{ENV["PORT"]}