File size: 282 Bytes
0fa8dbd
 
 
 
 
c9ab430
dcd2db2
 
1
2
3
4
5
6
7
8
FROM python:3.9
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .

# Yeh line change ki hai: app.main ki jagah hum ensure kar rahe hain path sahi ho
CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]