From c8e7144798630b21c096ce17ca360ee69bd25562 Mon Sep 17 00:00:00 2001 From: wuting Date: Sat, 28 Apr 2018 23:39:08 +0800 Subject: [PATCH] fix bugs --- .dockerignore | 3 ++- docker-compose.yml | 2 +- install.sh | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.dockerignore b/.dockerignore index e0ba3156..477e8afa 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,3 @@ .git -node_modules \ No newline at end of file +node_modules +cache \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index ce80c21c..ecff4134 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: "3" services: - gdlist: + sharelist: image: reruin/sharelist volumes: - $HOME/sharelist:/app/cache diff --git a/install.sh b/install.sh index 94b454c6..6cf19f58 100644 --- a/install.sh +++ b/install.sh @@ -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