Files
predictify/startup.sh
T
Chris Kiriakou 3fe19fd41f Fix Dockerfile.
2025-03-19 20:54:13 +01:00

15 lines
263 B
Bash
Executable File

#!/bin/sh
#
# Starup the predictify scraper
if test -f ./requirements.txt
then
python3 -m venv .venv
.venv/bin/pip install -r ./requirements.txt
else
printf "Missing requirements file! aborting...\n"
exit 1
fi
.venv/bin/python3 src/scraper.py