changed dockerfile to use python3.11
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
FROM python:3.10-slim
 | 
			
		||||
FROM python:3.11-slim
 | 
			
		||||
 | 
			
		||||
# Keeps Python from generating .pyc files in the container
 | 
			
		||||
ENV PYTHONDONTWRITEBYTECODE=1
 | 
			
		||||
@@ -23,4 +23,4 @@ COPY . /app
 | 
			
		||||
RUN adduser -u 1000 --disabled-password --gecos "" appuser && chown -R appuser /app
 | 
			
		||||
USER appuser
 | 
			
		||||
 | 
			
		||||
CMD ["python", "main.py"]
 | 
			
		||||
CMD ["python", "main.py"]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user