Dockerfile 228 B

12345678910111213
  1. FROM python:3.12-slim
  2. WORKDIR /app
  3. COPY requirements.txt .
  4. RUN pip install --no-cache-dir -r requirements.txt
  5. COPY app.py .
  6. COPY static ./static
  7. EXPOSE 8095
  8. CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8095"]