mirror of
https://github.com/agresdominik/predictify.git
synced 2026-04-21 17:55:49 +00:00
9b9002e751
* Create a dockerfile based on alpine. * Create a start script to startup scraper.
15 lines
220 B
Bash
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
|
|
|