mirror of
https://github.com/katanemo/plano.git
synced 2026-04-26 09:16:24 +02:00
* update rust to 1.82 pin it, also update envoy to 1.32 and python to 3.13 * use python:3.12
18 lines
296 B
Docker
18 lines
296 B
Docker
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 *.py .
|
|
|
|
CMD ["python", "run_stream.py"]
|