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.
 
 

27 lines
834 B

  1. FROM debian:bullseye
  2. # Install tini
  3. ENV TINI_VERSION v0.19.0
  4. ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
  5. RUN chmod +x /tini
  6. #RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y \
  7. # build-essential dpkg-dev devscripts cmake git python3 python3-dev python3-pip \
  8. # && rm -rf /var/lib/apt/lists/*
  9. # Create data mount
  10. RUN mkdir -p /data
  11. RUN chown nobody:nogroup /data
  12. WORKDIR /
  13. COPY mover.sh /mover.sh
  14. COPY entrypoint.sh /entrypoint.sh
  15. COPY uploader.sh /uploader.sh
  16. #ADD https://raw.githubusercontent.com/ArchiveTeam/ArchiveBot/master/pipeline/requirements.txt /requirements.txt
  17. #ADD https://raw.githubusercontent.com/ArchiveTeam/ArchiveBot/master/uploader/uploader.py /uploader.py
  18. #RUN pip3 install -r /requirements.txt
  19. ENTRYPOINT [ "/tini", "--", "/entrypoint.sh" ]