Spaces:
Runtime error
Runtime error
Download Dockerfile from Baskar2005/TestingI: direct link, hf CLI and curl.
- Browser
- Download file 510 Bytes
-
https://huggingface.co/spaces/Baskar2005/TestingI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Baskar2005/TestingI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Baskar2005/TestingI/resolve/main/Dockerfile
510 Bytes
| # Use official Playwright Python image (includes Chromium + deps) | |
| FROM mcr.microsoft.com/playwright/python:v1.42.0-jammy | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy project files | |
| COPY . . | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir flask playwright | |
| # Install Playwright browsers (already included, but safe) | |
| RUN playwright install chromium | |
| # Expose Flask port | |
| EXPOSE 5000 | |
| # Prevent Flask from using reloader inside Docker | |
| ENV FLASK_ENV=production | |
| # Run the app | |
| CMD ["python", "app.py"] | |