# Hugging Face Spaces Configuration # Mi Pesca RD - Flask PWA FROM python:3.11-slim WORKDIR /app # Copy requirements and install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application files COPY app.py . COPY models.py . COPY static/ ./static/ # Environment variables ENV PORT=7860 ENV PYTHONUNBUFFERED=1 # Expose port EXPOSE 7860 # Run with verbose logging CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "2", "--timeout", "120", "--access-logfile", "-", "--error-logfile", "-", "app:app"]