mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			298 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			298 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM nginx:1.19.0-alpine
 | |
| 
 | |
| # Create user account
 | |
| RUN addgroup -S inventreegroup && adduser -S inventree -G inventreegroup
 | |
| 
 | |
| ENV HOME=/home/inventree
 | |
| WORKDIR $HOME
 | |
| 
 | |
| # Create the "static" volume directory
 | |
| RUN mkdir $HOME/static
 | |
| 
 | |
| RUN rm /etc/nginx/conf.d/default.conf
 | |
| COPY nginx.conf /etc/nginx/conf.d
 | |
| 
 |