flathunting-scraper (latest)
Published 2024-11-14 19:11:49 +01:00 by daniel
Installation
docker pull git.pi2.dev/daniel/flathunting-scraper:latest
sha256:5abdb1f2b65d5eb9c825452429cab761d381ef4fdfebe27a531560e5b8bdfe32
Image Layers
ADD rootfs.tar.xz / # buildkit |
CMD ["bash"] |
COPY ./scraper/requirements.txt ./scraper/install_prod.sh /webapp/ # buildkit |
RUN /bin/sh -c apt-get update && apt-get install -y python3 python3-pip python3-virtualenv xvfb wget # buildkit |
RUN /bin/sh -c wget https://nextcloud.pi2.dev/s/msPWKq9FEtr2qL4/download/google-chrome-stable_current_128_amd64.deb && apt-get install -y ./google-chrome-stable_current_128_amd64.deb && rm google-chrome-stable_current_128_amd64.deb # buildkit |
RUN /bin/sh -c virtualenv /venv && /venv/bin/pip install -r /webapp/requirements.txt # buildkit |
COPY ./scraper/scraper_service.py ./scraper/run_prod.sh /webapp/ # buildkit |
WORKDIR /webapp |
CMD ["/bin/bash" "run_prod.sh"] |