This program downloads all files of a Stud.IP users current semester.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
432 B

  1. FROM python
  2. LABEL maintainer "TiynGER <mail@martenkante.eu>"
  3. ENV USER admin
  4. ENV PSWD admin
  5. ENV URL admin
  6. ENV HOST mysql
  7. ENV INTERVAL 86400
  8. ENV DB_USER root
  9. ENV DB_PSWD root
  10. RUN git clone https://github.com/tiyn/stud.ip-crawler /studip
  11. WORKDIR /studip
  12. RUN pip install -r src/requirements.txt
  13. ADD run.sh .
  14. RUN chmod +x run.sh
  15. RUN chmod +x src/run.py
  16. VOLUME /studip/src/data
  17. WORKDIR /studip/src
  18. CMD ["/studip/run.sh"]