mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	alpine 3.21 and node 22 in docker
This commit is contained in:
		
							parent
							
								
									a1854fa074
								
							
						
					
					
						commit
						988983b880
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
FROM --platform=$BUILDPLATFORM node:20-alpine AS builder
 | 
					FROM --platform=$BUILDPLATFORM node:22-alpine AS builder
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN mkdir -p /opt/meshcentral/meshcentral
 | 
					RUN mkdir -p /opt/meshcentral/meshcentral
 | 
				
			||||||
COPY ./ /opt/meshcentral/meshcentral/
 | 
					COPY ./ /opt/meshcentral/meshcentral/
 | 
				
			||||||
| 
						 | 
					@ -34,7 +34,7 @@ RUN rm -rf /opt/meshcentral/meshcentral/docker
 | 
				
			||||||
RUN rm -rf /opt/meshcentral/meshcentral/node_modules
 | 
					RUN rm -rf /opt/meshcentral/meshcentral/node_modules
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM --platform=$TARGETPLATFORM alpine:3.19
 | 
					FROM --platform=$TARGETPLATFORM alpine:3.21
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#Add non-root user, add installation directories and assign proper permissions
 | 
					#Add non-root user, add installation directories and assign proper permissions
 | 
				
			||||||
RUN mkdir -p /opt/meshcentral/meshcentral
 | 
					RUN mkdir -p /opt/meshcentral/meshcentral
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue