1
0
Fork 0
forked from fedi/mastodon

updated node version in Vagrantfile (#16230)

This commit is contained in:
chandrn7 2021-05-12 17:19:31 -04:00 committed by GitHub
parent 70f6f2e9b7
commit 2840f995d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
Vagrantfile vendored
View file

@ -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_10.x | sudo bash -
curl -sL https://deb.nodesource.com/setup_12.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"]}