All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			538 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			538 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM node:15.5.1-alpine3.12
 | 
						|
WORKDIR /app
 | 
						|
RUN npm i -g pnpm
 | 
						|
COPY package.json ./
 | 
						|
RUN pnpm i
 | 
						|
COPY package.json *.config.js workbox-config.js template-copy.js index.template.html s-config.template.js ./
 | 
						|
COPY src ./src
 | 
						|
COPY public ./public
 | 
						|
RUN pnpm run build
 | 
						|
# final image
 | 
						|
FROM alpine
 | 
						|
COPY --from=0 /app/build /app
 | 
						|
RUN rm -rf /app/build/_dist_/components
 | 
						|
RUN rm -rf /app/build/_dist_/locales
 | 
						|
RUN rm -rf /app/build-manifest.json
 | 
						|
FROM fholzer/nginx-brotli:v1.19.1
 | 
						|
COPY --from=1 /app /usr/share/nginx/html
 | 
						|
COPY ./nginx.conf /etc/nginx/nginx.conf |