15 lines
285 B
Docker
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"]
|