Spaces:
Sleeping
Sleeping
Download Dockerfile from PHDMAFIN/IDEALISTA_1: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/spaces/PHDMAFIN/IDEALISTA_1/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/PHDMAFIN/IDEALISTA_1/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/PHDMAFIN/IDEALISTA_1/resolve/main/Dockerfile
390 Bytes
| FROM mcr.microsoft.com/playwright/python:v1.58.0-noble | |
| WORKDIR /app | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade pip | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Reinstala/asegura Chromium para la versión exacta de Playwright instalada por pip | |
| RUN python -m playwright install chromium | |
| COPY . /app | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |