Spaces:
Sleeping
Sleeping
Download Dockerfile from iyadsultan/human_evaluator: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/spaces/iyadsultan/human_evaluator/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/iyadsultan/human_evaluator/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/iyadsultan/human_evaluator/resolve/main/Dockerfile
466 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application files | |
| COPY app.py . | |
| COPY templates/ templates/ | |
| COPY static/ static/ | |
| # Create data directory with proper permissions | |
| RUN mkdir -p /app/data && chmod 777 /app/data | |
| # Set environment variables | |
| ENV DATA_DIR=/app/data | |
| ENV PYTHONUNBUFFERED=1 | |
| # Expose port | |
| EXPOSE 7860 | |
| # Run the application | |
| CMD ["python", "app.py"] |