Updated docker settings

This commit is contained in:
2019-04-14 19:04:08 +09:00
parent c210ab36ee
commit efcd77cb99
4 changed files with 18 additions and 7 deletions

View File

@ -73,6 +73,8 @@ assets:
@pack
clean:
find . -type f | xargs file | grep "ELF.*executable" | awk -F: '{print $1}' | xargs rm
rm -rf ./components
find . -type f | grep /scripts/ | grep .js | xargs rm
ports:
ifeq ($(OSNAME),LINUX)
$(IPTABLES) -t nat -A OUTPUT -o lo -p tcp --dport 80 -j REDIRECT --to-port 4000