FROM chiupam/selenium:latest

USER root

RUN rm -rf /repo \
&& mkdir repo \
&& git clone https://github.com/chiupam/Epidemic.git /repo \
&& crontab /repo/selenium/cron.sh

WORKDIR /data

ENTRYPOINT crond && /bin/bash

CMD /bin/bash
