Fix Dockerfile.

This commit is contained in:
Chris Kiriakou
2025-03-19 20:54:13 +01:00
parent ae477c01a4
commit 3fe19fd41f
2 changed files with 20 additions and 14 deletions
Regular → Executable
+3 -3
View File
@@ -4,11 +4,11 @@
if test -f ./requirements.txt
then
pip install -r ./requirements.txt
python3 -m venv .venv
.venv/bin/pip install -r ./requirements.txt
else
printf "Missing requirements file! aborting...\n"
exit 1
fi
python3 ./src/scraper.py
.venv/bin/python3 src/scraper.py