forked from mirrors/amnezia-wg-easy
		
	Dockerfile: disable fund message at build time
This commit is contained in:
		
							parent
							
								
									ada884779a
								
							
						
					
					
						commit
						55e4bf2fda
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,7 @@ FROM docker.io/library/node:18-alpine@sha256:435dcad253bb5b7f347ebc69c8cc52de7c9
 | 
			
		|||
# Copy Web UI
 | 
			
		||||
COPY src/ /app/
 | 
			
		||||
WORKDIR /app
 | 
			
		||||
RUN npm ci --production
 | 
			
		||||
RUN npm config set fund false && npm ci --production
 | 
			
		||||
 | 
			
		||||
# Copy build result to a new image.
 | 
			
		||||
# This saves a lot of disk space.
 | 
			
		||||
| 
						 | 
				
			
			@ -23,7 +23,7 @@ COPY --from=build_node_modules /app /app
 | 
			
		|||
RUN mv /app/node_modules /node_modules
 | 
			
		||||
 | 
			
		||||
# Enable this to run `npm run serve`
 | 
			
		||||
RUN npm i -g nodemon
 | 
			
		||||
RUN npm config set fund false && npm i -g nodemon
 | 
			
		||||
 | 
			
		||||
# Install Linux packages
 | 
			
		||||
RUN apk add -U --no-cache \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue