9 lines
		
	
	
		
			305 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			305 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM nginx:stable-alpine3.17-slim
 | |
| 
 | |
| # embed the configuration directly in the image
 | |
| COPY nginx/nginx.conf /etc/nginx/nginx.conf
 | |
| COPY nginx/cors_preflight.conf /etc/nginx/cors_preflight.conf
 | |
| 
 | |
| # init ssl connection
 | |
| RUN mkdir /etc/nginx/ssl
 | |
| COPY nginx/ssl/certificate.crt nginx/ssl/private.key /etc/nginx/ssl/ |