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