HenryKu's picture
Uvicorn added in requirements
13c0b25
raw
history blame contribute delete
205 Bytes
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "-m", "uvicorn", "main:api", "--host", "0.0.0.0", "--port", "7860"]