mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
use python:3.12
This commit is contained in:
parent
552ff814f5
commit
c8d81db3df
5 changed files with 9 additions and 9 deletions
|
|
@ -11,7 +11,7 @@ RUN cd llm_gateway && cargo build --release --target wasm32-wasip1
|
|||
FROM envoyproxy/envoy:v1.32-latest as envoy
|
||||
|
||||
#Build config generator, so that we have a single build image for both Rust and Python
|
||||
FROM python:3.13-slim as arch
|
||||
FROM python:3.12-slim as arch
|
||||
|
||||
RUN apt-get update && apt-get install -y gettext-base curl && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.10 AS base
|
||||
FROM python:3.12 AS base
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
|
|
@ -7,7 +7,7 @@ WORKDIR /src
|
|||
COPY requirements.txt /src/
|
||||
RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt
|
||||
|
||||
FROM python:3.10-slim AS output
|
||||
FROM python:3.12-slim AS output
|
||||
COPY --from=builder /runtime /usr/local
|
||||
|
||||
WORKDIR /app
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.10 AS base
|
||||
FROM python:3.12 AS base
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
|
|
@ -9,7 +9,7 @@ RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt
|
|||
|
||||
COPY . /src
|
||||
|
||||
FROM python:3.10-slim AS output
|
||||
FROM python:3.12-slim AS output
|
||||
|
||||
COPY --from=builder /runtime /usr/local
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.10 AS base
|
||||
FROM python:3.12 AS base
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
|
|
@ -8,7 +8,7 @@ COPY requirements.txt /src/
|
|||
|
||||
RUN pip install --prefix=/runtime --force-reinstall -r requirements.txt
|
||||
|
||||
FROM python:3.10-slim AS output
|
||||
FROM python:3.12-slim AS output
|
||||
|
||||
COPY --from=builder /runtime /usr/local
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
FROM python:3.10 AS builder
|
||||
FROM python:3.12 AS builder
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --prefix=/runtime -r requirements.txt
|
||||
|
||||
FROM python:3.10-slim AS output
|
||||
FROM python:3.12-slim AS output
|
||||
|
||||
# curl is needed for health check in docker-compose
|
||||
RUN apt-get update && apt-get install -y curl && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue