Updated from main
Some checks failed
Build and Publish Docker Image / main (push) Has been cancelled
Run tests / tests_python (3.10) (push) Has been cancelled
Run tests / tests_python (3.8) (push) Has been cancelled
Run tests / tests_python (3.9) (push) Has been cancelled
Run tests / test_docker_build (push) Has been cancelled

Translated using Weblate (French)
Translation: LibreTranslate/App
Translate-URL: https://hosted.weblate.org/projects/libretranslate/app/fr/

Update Dockerfile Python base image to mitigate some security issues

* af1a459da2
* 4cbed58c76
This commit is contained in:
vdbhb59 2025-02-01 12:53:55 +05:30
commit 9c3a8aaa0b
3 changed files with 11 additions and 10 deletions

View file

@ -1,4 +1,4 @@
FROM python:3.11.9-slim-bullseye AS builder
FROM python:3.11.11-slim-bullseye AS builder
WORKDIR /app
@ -20,7 +20,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.9-slim-bullseye
FROM python:3.11.11-slim-bullseye
ARG with_models=false
ARG models=""

View file

@ -1,4 +1,4 @@
FROM arm64v8/python:3.11.9-slim-bullseye as builder
FROM arm64v8/python:3.11.11-slim-bullseye as builder
WORKDIR /app
@ -20,7 +20,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.9-slim-bullseye
FROM arm64v8/python:3.11.11-slim-bullseye
ARG with_models=false
ARG models=""