This commit is contained in:
Adil Hafeez 2025-02-07 17:09:18 -08:00
parent bb89dfbe05
commit e859c6fc03
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
59 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,16 @@
FROM python:3.12 AS base
FROM base AS builder
WORKDIR /src
COPY requirements.txt /src/
RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt
FROM python:3.12-slim AS output
COPY --from=builder /runtime /usr/local
WORKDIR /app
COPY . /app
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80", "--log-level", "info"]