You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
285 B
Docker

FROM ubuntu:focal
RUN apt-get update && \
apt-get install -y python3-pip
ADD requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
ADD scrape.py /usr/local/bin/scrape.py
RUN chmod +x /usr/local/bin/scrape.py
ENTRYPOINT ["/usr/local/bin/scrape.py"]