Spaces:
Runtime error
Runtime error
Download Dockerfile from amit01Xindus/infiplex: direct link, hf CLI and curl.
- Browser
- Download file 641 Bytes
-
https://huggingface.co/spaces/amit01Xindus/infiplex/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/amit01Xindus/infiplex/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/amit01Xindus/infiplex/resolve/main/Dockerfile
641 Bytes
| FROM python:3.12-slim | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| # Install Chromium & ChromeDriver | |
| RUN apt-get update && apt-get install -y \ | |
| wget gnupg unzip curl \ | |
| fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 \ | |
| libatk1.0-0 libcups2 libdbus-1-3 libgdk-pixbuf2.0-0 \ | |
| libnspr4 libnss3 libx11-xcb1 libxcomposite1 libxdamage1 \ | |
| libxfixes3 libxrandr2 libgbm1 libgtk-3-0 libu2f-udev \ | |
| xdg-utils chromium chromium-driver \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . /app | |
| # Start Flask server | |
| CMD ["python", "app.py"] | |