Use python:3.9-alpine
This commit is contained in:
		
							parent
							
								
									c0de838ed9
								
							
						
					
					
						commit
						1b2d1ca44b
					
				| 
						 | 
				
			
			@ -1,9 +1,9 @@
 | 
			
		|||
image: ubuntu:20.04
 | 
			
		||||
image: python:3.9-alpine
 | 
			
		||||
 | 
			
		||||
pages:
 | 
			
		||||
    stage: deploy
 | 
			
		||||
    script:
 | 
			
		||||
        - sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --no-install-recommendspython3 python3-pip && python3 -m pip install -r requirements.txt && cd public/sbbs && python3 ../../gensbbsrss.py
 | 
			
		||||
        - pip install -r requirements.txt && cd public/sbbs && python3 ../../gensbbsrss.py
 | 
			
		||||
    artifacts:
 | 
			
		||||
        paths:
 | 
			
		||||
            - public
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue