update base image, reorder build steps
This commit is contained in:
		
							parent
							
								
									8ab44e1fdb
								
							
						
					
					
						commit
						be95d4f542
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -1,8 +1,10 @@
 | 
				
			||||||
FROM python:alpine3.20
 | 
					FROM python:alpine3.21
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WORKDIR /pgbot
 | 
					WORKDIR /pgbot
 | 
				
			||||||
COPY . .
 | 
					
 | 
				
			||||||
ENV PIP_ROOT_USER_ACTION=ignore
 | 
					ENV PIP_ROOT_USER_ACTION=ignore
 | 
				
			||||||
RUN pip install -r requirements.txt
 | 
					RUN pip install -r requirements.txt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					COPY . .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CMD /pgbot/pgbot
 | 
					CMD /pgbot/pgbot
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue