You've already forked pigallery2
							
							
				mirror of
				https://github.com/bpatrik/pigallery2.git
				synced 2025-10-30 23:57:43 +02:00 
			
		
		
		
	Add linking for python3
As in alpine /usr/bin/python owned by python2, workaround by linking /usr/bin/python3 to /usr/bin/python
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							996b77eb7b
						
					
				
				
					commit
					7c337fb1e7
				
			| @@ -2,7 +2,7 @@ | ||||
| #----------------------------------------- | ||||
| FROM node:14-alpine3.13 AS builder | ||||
| RUN apk add --update-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.13/community/ \ | ||||
|   python2 build-base sqlite-dev sqlite-libs vips-dev fftw-dev gcc g++ make libc6-compat | ||||
|   python3 build-base sqlite-dev sqlite-libs vips-dev fftw-dev gcc g++ make libc6-compat && ln -snf /usr/bin/python3 /usr/bin/python | ||||
| COPY pigallery2-release /app | ||||
| WORKDIR /app | ||||
| RUN npm install --unsafe-perm | ||||
|   | ||||
		Reference in New Issue
	
	Block a user