Dockerfile (240B)
1 FROM python:3.11-slim 2 3 WORKDIR /app 4 5 COPY requirements.txt . 6 RUN pip install --no-cache-dir -r requirements.txt 7 8 # Copy the app structure 9 COPY app/ ./app/ 10 11 EXPOSE 8000 12 13 CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]