File size: 309 Bytes
b315659 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | FROM python:3.12.2
WORKDIR /app
# This is to prevent Python from buffering stdout and stderr
ENV PYTHONUNBUFFERED 1
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 3000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "3000", "--log-level", "critical", "--reload"] |