mirror of
				https://github.com/KevinMidboe/hivemonitor.git
				synced 2025-10-29 17:40:25 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			405 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			405 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM node:current-alpine3.17 as builder
 | |
| 
 | |
| WORKDIR /app
 | |
| 
 | |
| COPY package*.json .
 | |
| COPY *config* .
 | |
| COPY .env .
 | |
| COPY src/ src
 | |
| COPY static/ static
 | |
| 
 | |
| RUN npm install
 | |
| RUN npm run build
 | |
| 
 | |
| FROM nginx:alpine
 | |
| 
 | |
| WORKDIR /app
 | |
| 
 | |
| COPY --from=builder /app/build .
 | |
| COPY ./nginx.conf /etc/nginx/nginx.conf
 | |
| 
 | |
| LABEL org.opencontainers.image.source=https://github.com/kevinmidboe/hivemonitor
 | |
| LABEL org.opencontainers.image.license=MIT
 |