Files
predictify/startup.sh
T
Chris Kiriakou 9b9002e751 Create a custom Dockerfile to decouple application dependencies from host.
* Create a dockerfile based on alpine.
* Create a start script to startup scraper.
2025-03-19 16:56:23 +01:00

15 lines
220 B
Bash

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