File size: 295 Bytes
bbea32b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Use a lightweight Python image
FROM python:3.9-slim

# Set working directory
WORKDIR /app

# Copy all files into container
COPY . .

# Install dependencies
RUN pip install -r requirements.txt

# Expose port 7860 for Hugging Face Spaces
EXPOSE 7860

# Run Flask app
CMD ["python", "server.py"]