File size: 359 Bytes
8f402e0
550584c
 
8f402e0
550584c
 
8f402e0
 
550584c
8f402e0
 
550584c
8f402e0
550584c
 
8f402e0
550584c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Use a Python base image
FROM python:3.9-slim

# Set working directory
WORKDIR /app

# Copy all project files to the container
COPY . .

# Install Python dependencies
RUN pip install -r huggingface_docker/requirements.txt

# Expose the port Flask will run on (required by Hugging Face Spaces)
EXPOSE 5000

# Run the Flask app
CMD ["python", "backend/app.py"]