Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
reruin committed Apr 28, 2018
1 parent 91adb76 commit c8e7144
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.git
node_modules
node_modules
cache
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: "3"
services:
gdlist:
sharelist:
image: reruin/sharelist
volumes:
- $HOME/sharelist:/app/cache
Expand Down
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ echo -e "\n| ShareList is installing ... "
# deps
if [ -n "$(command -v apt-get)" ]
then
apt-get -y install curl unzip >/dev/null 2>&1
apt-get install -y curl >/dev/null 2>&1
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - >/dev/null 2>&1
apt-get install -y nodejs >/dev/null 2>&1
elif [ -n "$(command -v yum)" ]
then
yum -y install curl unzip >/dev/null 2>&1
yum install -y curl >/dev/null 2>&1
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash - >/dev/null 2>&1
yum -y install nodejs >/dev/null 2>&1
yum install -y nodejs >/dev/null 2>&1
fi

npm install
Expand Down

0 comments on commit c8e7144

Please sign in to comment.