mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2026-02-22 03:00:17 -05:00
Merge pull request #904 from PeterDaveHello/UpdateDockerfile
Update Docker Python base images to 3.11.14 bookworm
This commit is contained in:
commit
b17d58d71c
@ -1,4 +1,4 @@
|
||||
FROM python:3.11.11-slim-bullseye AS builder
|
||||
FROM python:3.11.14-slim-bookworm AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@ -21,7 +21,7 @@ RUN ./venv/bin/pip install Babel==2.12.1 && ./venv/bin/python scripts/compile_lo
|
||||
&& ./venv/bin/pip install . \
|
||||
&& ./venv/bin/pip cache purge
|
||||
|
||||
FROM python:3.11.11-slim-bullseye
|
||||
FROM python:3.11.14-slim-bookworm
|
||||
|
||||
ARG with_models=false
|
||||
ARG models=""
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM arm64v8/python:3.11.11-slim-bullseye as builder
|
||||
FROM arm64v8/python:3.11.14-slim-bookworm as builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@ -21,7 +21,7 @@ RUN ./venv/bin/pip install Babel==2.12.1 && ./venv/bin/python scripts/compile_lo
|
||||
&& ./venv/bin/pip install . \
|
||||
&& ./venv/bin/pip cache purge
|
||||
|
||||
FROM arm64v8/python:3.11.11-slim-bullseye
|
||||
FROM arm64v8/python:3.11.14-slim-bookworm
|
||||
|
||||
ARG with_models=false
|
||||
ARG models=""
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM python:3.11.11-slim-bullseye AS builder
|
||||
FROM python:3.11.14-slim-bookworm AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@ -26,7 +26,7 @@ RUN <<EOF
|
||||
./venv/bin/pip cache purge
|
||||
EOF
|
||||
|
||||
FROM python:3.11.11-slim-bullseye
|
||||
FROM python:3.11.14-slim-bookworm
|
||||
|
||||
ARG with_models=false
|
||||
ARG models=""
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM python:3.11.11-slim-bullseye AS builder
|
||||
FROM python:3.11.14-slim-bookworm AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@ -26,7 +26,7 @@ RUN <<EOF
|
||||
./venv/bin/pip cache purge
|
||||
EOF
|
||||
|
||||
FROM python:3.11.11-slim-bullseye
|
||||
FROM python:3.11.14-slim-bookworm
|
||||
|
||||
ARG with_models=false
|
||||
ARG models=""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user