Copy the sample config before building the frontend
This commit is contained in:
		
							parent
							
								
									cfa8a9a7d6
								
							
						
					
					
						commit
						670f85b1f5
					
				@ -8,7 +8,9 @@ WORKDIR /build
 | 
			
		||||
COPY . .
 | 
			
		||||
RUN apt-get update
 | 
			
		||||
RUN apt-get install -y build-essential rsync
 | 
			
		||||
RUN cp mempool-frontend-config.sample.json mempool-frontend-config.json
 | 
			
		||||
RUN npm install --omit=dev --omit=optional
 | 
			
		||||
 | 
			
		||||
RUN npm run build
 | 
			
		||||
 | 
			
		||||
FROM nginx:1.17.8-alpine
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user