forked from mirrors/amnezia-wg-easy
		
	Dockerfile: ensure to use latest npm cli
This commit is contained in:
		
							parent
							
								
									191dd74b0c
								
							
						
					
					
						commit
						86146ccc68
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -2,8 +2,8 @@
 | 
			
		|||
# nodejs 20 hangs on build with armv6/armv7
 | 
			
		||||
FROM docker.io/library/node:18-alpine AS build_node_modules
 | 
			
		||||
 | 
			
		||||
# Update npm to patched version of latest nodejs lts
 | 
			
		||||
RUN npm install -g npm@10.5.2
 | 
			
		||||
# Update npm to latest
 | 
			
		||||
RUN npm install -g npm@latest
 | 
			
		||||
 | 
			
		||||
# Copy Web UI
 | 
			
		||||
COPY src /app
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue