File size: 270 Bytes
bf751d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM python:3.10-slim
 
# Set working directory
WORKDIR /app
 
# Copy all files
COPY . .
 
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
 
# Expose port 7860 (required by HF Spaces)
EXPOSE 7860
 
# Run Flask app
CMD ["python", "flask_api.py"]