All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			
		
			
				
	
	
		
			16 lines
		
	
	
		
			579 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			579 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM registry.odit.services/hub/library/node:20.0.0-alpine3.17 as build
 | |
| ARG NPM_REGISTRY_URL=https://registry.npmjs.org
 | |
| WORKDIR /app
 | |
| 
 | |
| COPY package.json pnpm-lock.yaml vite.config.js tailwind.config.js postcss.config.cjs index.html ./
 | |
| RUN npm config set registry $NPM_REGISTRY_URL && npm i -g pnpm@8
 | |
| RUN mkdir /pnpm && pnpm config set store-dir /pnpm && pnpm i
 | |
| 
 | |
| COPY src ./src
 | |
| COPY public ./public
 | |
| RUN pnpm build
 | |
| 
 | |
| # final image
 | |
| FROM registry.odit.services/library/nginx-brotli:3.15 as final
 | |
| COPY --from=build /app/dist /usr/share/nginx/html
 | |
| COPY ./nginx.conf /etc/nginx/nginx.conf |