Spaces:
Sleeping
Sleeping
Download Dockerfile from deep-weather-sim/dws: direct link, hf CLI and curl.
- Browser
- Download file 914 Bytes
-
https://huggingface.co/spaces/deep-weather-sim/dws/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/deep-weather-sim/dws/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/deep-weather-sim/dws/resolve/main/Dockerfile
914 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| ca-certificates \ | |
| fonts-liberation \ | |
| libatk-bridge2.0-0 \ | |
| libatk1.0-0 \ | |
| libc6 \ | |
| libcairo2 \ | |
| libcups2 \ | |
| libdbus-1-3 \ | |
| libdrm2 \ | |
| libexpat1 \ | |
| libgbm1 \ | |
| libgcc1 \ | |
| libglib2.0-0 \ | |
| libgtk-3-0 \ | |
| libnspr4 \ | |
| libnss3 \ | |
| libpango-1.0-0 \ | |
| libasound2 \ | |
| libx11-6 \ | |
| libx11-xcb1 \ | |
| libxcb1 \ | |
| libxcomposite1 \ | |
| libxcursor1 \ | |
| libxdamage1 \ | |
| libxext6 \ | |
| libxfixes3 \ | |
| libxi6 \ | |
| libxrandr2 \ | |
| libxrender1 \ | |
| libxss1 \ | |
| libxtst6 \ | |
| libpangocairo-1.0-0 \ | |
| libpng16-16 \ | |
| wget \ | |
| xvfb \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . /app | |
| RUN playwright install chromium | |
| RUN chmod +x /app/start.sh | |
| EXPOSE 7860 | |
| CMD ["/app/start.sh"] |