Dockerfile 945 B

1234567891011121314151617181920212223242526272829303132
  1. FROM perl
  2. MAINTAINER Lertsenem <lertsenem@lertsenem.com>
  3. RUN apt update \
  4. && apt install -y libcurl3-dev \
  5. git \
  6. python3-pip
  7. RUN cpanm --force CGI::Fast \
  8. Data::Dumper \
  9. Encode \
  10. Net::Curl \
  11. HTML::Entities \
  12. HTML::TreeBuilder::LibXML \
  13. HTML::TreeBuilder::XPath \
  14. LWP::ConnCache \
  15. LWP::Protocol::Net::Curl \
  16. LWP::UserAgent \
  17. POSIX \
  18. Readonly
  19. RUN pip3 install requests \
  20. feedparser \
  21. Mastodon.py
  22. COPY . /root/bot
  23. WORKDIR /root/bot
  24. CMD ./docker.run.sh