blob: db42c8a9f019b542daa81ec82ae1e7bc20c4cbaf [file]
FROM python:3.9-bullseye
WORKDIR /app
COPY requirements.txt .
RUN python3.9 -m pip install -r requirements.txt
# need crontab
COPY crontab/*.py crontab/
# and need the tests too
COPY tests/* crontab_tests/
# Note: needs access to Redis; assumes localhost:6879
CMD ["python3.9", "-m", "crontab_tests.test_crontab"]