blob: b61ae9040dae34cec26660b1a8289ef7552a142c [file]
FROM python:2.7
WORKDIR /app
COPY requirements.txt .
RUN python2.7 -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 ["python2.7", "-m", "crontab_tests.test_crontab"]