mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2025-11-03 22:21:55 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			346 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			346 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM node:current-alpine AS build
 | 
						|
 | 
						|
WORKDIR /app/
 | 
						|
 | 
						|
COPY package.json yarn.lock ./
 | 
						|
 | 
						|
RUN yarn install --prefer-offline
 | 
						|
 | 
						|
COPY . .
 | 
						|
 | 
						|
RUN yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/css/*.css
 | 
						|
 | 
						|
FROM nginx:alpine
 | 
						|
 | 
						|
COPY --from=build /app/dist/ /usr/share/nginx/html/
 | 
						|
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
 | 
						|
 | 
						|
EXPOSE 80
 |