mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 07:42:11 +01:00 
			
		
		
		
	Update Python to 3.12
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
				
			|||||||
FROM python:3.11-alpine
 | 
					FROM python:3.12-alpine
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ENV PYTHONUNBUFFERED 1
 | 
					ENV PYTHONUNBUFFERED 1
 | 
				
			||||||
ENV DJANGO_ALLOW_ASYNC_UNSAFE 1
 | 
					ENV DJANGO_ALLOW_ASYNC_UNSAFE 1
 | 
				
			||||||
@@ -13,8 +13,6 @@ COPY requirements.txt /code/requirements.txt
 | 
				
			|||||||
COPY docs/requirements.txt /code/docs/requirements.txt
 | 
					COPY docs/requirements.txt /code/docs/requirements.txt
 | 
				
			||||||
RUN pip install -r requirements.txt --no-cache-dir
 | 
					RUN pip install -r requirements.txt --no-cache-dir
 | 
				
			||||||
RUN pip install -r docs/requirements.txt --no-cache-dir
 | 
					RUN pip install -r docs/requirements.txt --no-cache-dir
 | 
				
			||||||
# FIXME Remove this line when all dependencies will be ready
 | 
					 | 
				
			||||||
RUN pip install "Django>=4.2,<5.0"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY . /code/
 | 
					COPY . /code/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user