mirror of
https://github.com/katanemo/plano.git
synced 2026-05-07 23:02:43 +02:00
Salmanap/fix demos (#140)
* Comitting to bring in main * insurance agent updated * updated the insurance agent --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-261.local>
This commit is contained in:
parent
b1fa127704
commit
82fc91495e
8 changed files with 115 additions and 123 deletions
19
demos/insurance_agent/Dockerfile
Normal file
19
demos/insurance_agent/Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
FROM python:3 AS base
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
COPY requirements.txt /src/
|
||||
RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt
|
||||
|
||||
COPY . /src
|
||||
|
||||
FROM python:3-slim AS output
|
||||
|
||||
COPY --from=builder /runtime /usr/local
|
||||
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
CMD ["uvicorn", "insurance_agent_main:app", "--host", "0.0.0.0", "--port", "80", "--log-level", "info"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue