File size: 354 Bytes
39bf6ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM python:3.12-slim

WORKDIR /app

# Copy requirements
COPY backend/requirements.txt .

# Install dependencies using uv
RUN pip install uv && uv pip install --system -r requirements.txt

# Copy backend code
COPY backend ./

# Expose port
EXPOSE 8000

# Run backend
CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]