8 lines
		
	
	
		
			326 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			326 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| FROM nginx:alpine
 | |
| COPY nginx.conf.template /etc/nginx/conf.d/nginx.conf.template
 | |
| RUN rm -rf /usr/share/nginx/html/*
 | |
| COPY ./dist/web/ /usr/share/nginx/html
 | |
| RUN apk update
 | |
| RUN apk add bash
 | |
| CMD /bin/bash -c "envsubst '\$BOT_CONTAINER_NAME' < /etc/nginx/conf.d/nginx.conf.template > /etc/nginx/nginx.conf; nginx -g 'daemon off;'"
 |