mirror of
				https://github.com/LibreTranslate/LibreTranslate.git
				synced 2025-11-03 19:17:17 -05:00 
			
		
		
		
	Update Dockerfile base image to Python v3.11.9
This commit is contained in:
		
							parent
							
								
									c8360d0359
								
							
						
					
					
						commit
						7722984df5
					
				@ -1,4 +1,4 @@
 | 
				
			|||||||
FROM python:3.10.10-slim-bullseye as builder
 | 
					FROM python:3.11.9-slim-bullseye as builder
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WORKDIR /app
 | 
					WORKDIR /app
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -19,7 +19,7 @@ RUN ./venv/bin/pip install Babel==2.12.1 && ./venv/bin/python scripts/compile_lo
 | 
				
			|||||||
  && ./venv/bin/pip install . \
 | 
					  && ./venv/bin/pip install . \
 | 
				
			||||||
  && ./venv/bin/pip cache purge
 | 
					  && ./venv/bin/pip cache purge
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM python:3.10.10-slim-bullseye
 | 
					FROM python:3.11.9-slim-bullseye
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ARG with_models=false
 | 
					ARG with_models=false
 | 
				
			||||||
ARG models=""
 | 
					ARG models=""
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
FROM arm64v8/python:3.10.10-slim-bullseye as builder
 | 
					FROM arm64v8/python:3.11.9-slim-bullseye as builder
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WORKDIR /app
 | 
					WORKDIR /app
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -19,7 +19,7 @@ RUN ./venv/bin/pip install Babel==2.12.1 && ./venv/bin/python scripts/compile_lo
 | 
				
			|||||||
  && ./venv/bin/pip install . \
 | 
					  && ./venv/bin/pip install . \
 | 
				
			||||||
  && ./venv/bin/pip cache purge
 | 
					  && ./venv/bin/pip cache purge
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM arm64v8/python:3.10.10-slim-bullseye
 | 
					FROM arm64v8/python:3.11.9-slim-bullseye
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ARG with_models=false
 | 
					ARG with_models=false
 | 
				
			||||||
ARG models=""
 | 
					ARG models=""
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user