File size: 272 Bytes
bfedd14
 
 
 
 
b91e61f
 
bfedd14
b4e3847
 
8dcbb9a
b91e61f
2cbf2b8
bfedd14
b91e61f
79ca5e3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.9-slim

# Set working directory
WORKDIR /app

# Copy backend files into the container
COPY . /app

# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt

# Expose the backend port
EXPOSE 7860

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