Spaces:
Sleeping
Sleeping
File size: 370 Bytes
f5c63a0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# Use official Python 3.9 image (compatible with Hugging Face Spaces)
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy all project files
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port 7860 (Hugging Face default)
EXPOSE 7860
# Run the Flask app
CMD ["python", "deployment/api/app.py"] |