diff --git a/entrypoint.sh b/entrypoint.sh index 7a6b624..0877504 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -31,18 +31,22 @@ if [[ -z "${DEVELOPMENT}" ]]; then else echo "Running in DEVELOPMENT mode." if [[ ! -d /website/frontend/bower_components ]]; then + echo "...installing bower_components for frontend" cd /website/frontend npx -y bower --allow-root -y install || fail "Unable to install frontend" fi if [[ ! -d /website/client/node_modules ]]; then + echo "...installing node_modules for client" cd /website/client npm install || fail "Unable to install client" fi if [[ ! -d /website/node_modules ]]; then + echo "...installing node_modules for base website" cd /website npm install || fail "Unable to install website" fi if [[ ! -d /website/server/node_modules ]]; then + echo "...installing node_modules for server" cd /website/server npm install || fail "Unable to install server" fi