Files
pluto_tv_scraper-docker/build.sh
David Claeys 45ebfc57e7
All checks were successful
Build docker container / build (push) Successful in 4m20s
update readme and implement fix with channel urls
2026-02-27 08:07:30 +01:00

21 lines
477 B
Bash

#!/bin/bash
GIT_REPO_URL="https://github.com/4v3ngR/pluto_tv_scraper.git"
GIT_COMMIT="dd21bff73620c11b5a8c9c43a96bc96cd804896e"
BUILD_FOLDER="/build"
BIN_FOLDER=$"/bin/pluto"
apk add git
git clone --revision=$GIT_COMMIT $GIT_REPO_URL $BUILD_FOLDER
cd $BUILD_FOLDER
npm install -g npm@latest
npm install
npm install -g .
apk del git
#remove unnecessary files to run the binary to save space
rm -rf .git
rm config.json
rm LICENSE
rm README.md
rm package-lock.json
rm .gitignore