diff --git a/Docker/install_ffmpeg.sh b/Docker/install_ffmpeg.sh index 0732b99b..f42228e8 100644 --- a/Docker/install_ffmpeg.sh +++ b/Docker/install_ffmpeg.sh @@ -16,6 +16,8 @@ apt-get install -y \ libx264-dev \ libx265-dev \ x264 \ - ffmpeg + ffmpeg -ffmpeg -version \ No newline at end of file +ffmpeg -version + +apt-get install git -y diff --git a/Docker/install_nodejs.sh b/Docker/install_nodejs.sh index ed412ea7..31799276 100644 --- a/Docker/install_nodejs.sh +++ b/Docker/install_nodejs.sh @@ -2,7 +2,7 @@ if [ -x "$(command -v node)" ]; then echo "Node.js detected. Version : $(node -v)" else - echo "Installing NodeJS 18" + echo "Installing Node.js 18" mkdir -p /etc/apt/keyrings apt-get install -y ca-certificates gnupg curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg @@ -15,9 +15,11 @@ else fi if [ -x "$(command -v npm)" ]; then - echo "NPM detected. Version : $(npm -v)" - npm i npm@latest pm2 pg -g --save - npm install --unsafe-perm -else echo "NPM NOT FOUND!" +else + echo "NPM detected. Version : $(npm -v)" + npm i npm@latest -g + npm install --unsafe-perm fi +npm i pm2@latest -g +npm i pg