CoolFace
Apppublic

teaycorp/school_scraper

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile29 linesDownload Raw Back to root
1# Install system dependencies2RUN apt-get update && apt-get install -y \3    wget \4    unzip \5    libnss3 \6    libgconf-2-4 \7    libxi6 \8    libgdk-pixbuf2.0-0 \9    libxcomposite1 \10    libasound2 \11    libxrandr2 \12    libatk1.0-0 \13    libgtk-3-0 \14    libxss1 \15    fonts-liberation \16    libappindicator3-1 \17    xdg-utils18 19# Download and install Chrome20RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \21    dpkg -i google-chrome-stable_current_amd64.deb || apt-get install -yf22 23# Download and install ChromeDriver24RUN CHROME_VERSION=$(google-chrome --version | awk '{print $3}' | cut -d '.' -f 1) && \25    wget https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${CHROME_VERSION} -O /tmp/chromedriver_version && \26    CHROMEDRIVER_VERSION=$(cat /tmp/chromedriver_version) && \27    wget https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip -O /tmp/chromedriver_linux64.zip && \28    unzip /tmp/chromedriver_linux64.zip -d /usr/local/bin/ && \29    chmod +x /usr/local/bin/chromedriver