add test infrastructure for --nobs

This commit is contained in:
Username
2025-12-20 17:33:40 +01:00
parent 1d865d5250
commit 4c9a658d26
2 changed files with 74 additions and 3 deletions

View File

@@ -2,8 +2,11 @@ FROM python:2.7-slim
WORKDIR /app
# install dependencies (optional - bs4 can be skipped with --nobs)
COPY requirements.txt .
RUN pip install -r requirements.txt || true
COPY . .
RUN pip install -r requirements.txt
CMD ["python", "ppf.py"]
# default: run syntax check
CMD ["python", "-m", "py_compile", "ppf.py", "soup_parser.py", "config.py", "fetch.py"]