Spaces:
Sleeping
Sleeping
Download Dockerfile from Thestrelema/google_link_scraper: direct link, hf CLI and curl.
- Browser
- Download file 927 Bytes
-
https://huggingface.co/spaces/Thestrelema/google_link_scraper/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Thestrelema/google_link_scraper/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Thestrelema/google_link_scraper/resolve/main/Dockerfile
927 Bytes
| # FROM python:3.10-slim | |
| # WORKDIR /app | |
| # # Install Chromium + Driver | |
| # RUN apt-get update && apt-get install -y \ | |
| # chromium \ | |
| # chromium-driver \ | |
| # curl \ | |
| # unzip \ | |
| # && rm -rf /var/lib/apt/lists/* | |
| # # Copy files | |
| # COPY requirements.txt . | |
| # COPY app.py . | |
| # # Install Python packages | |
| # RUN pip install --no-cache-dir -r requirements.txt | |
| # # Streamlit settings | |
| # ENV STREAMLIT_SERVER_PORT=8501 | |
| # ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0 | |
| # EXPOSE 8501 | |
| # # Run app | |
| # CMD ["streamlit", "run", "app.py"] | |
| FROM python:3.10-slim | |
| RUN apt-get update && apt-get install -y \ | |
| wget \ | |
| gnupg \ | |
| unzip \ | |
| chromium \ | |
| chromium-driver \ | |
| && rm -rf /var/lib/apt/lists/* | |
| ENV CHROME_BIN=/usr/bin/chromium | |
| ENV CHROMEDRIVER=/usr/bin/chromedriver | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| CMD ["streamlit","run","app.py","--server.port=8501","--server.address=0.0.0.0"] |