File size: 303 Bytes
66c0d0c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.12.3-slim

# Set environment variables
ENV PYTHONUNBUFFERED 1
WORKDIR /app

COPY requirements_server.txt ./
RUN pip install --no-cache-dir -r requirements_server.txt

# Copy the application code
COPY . .

# Expose the port
EXPOSE 8080

# Start the backend app
CMD ["python", "src/main.py"]