add unit proxy on port 80
This commit is contained in:
		
							parent
							
								
									998f9a6ad8
								
							
						
					
					
						commit
						46175997e3
					
				
					 3 changed files with 32 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -19,6 +19,11 @@ RUN apt-get update && apt-get install -y \
 | 
			
		|||
    zlib1g-dev \
 | 
			
		||||
    libjpeg-dev
 | 
			
		||||
 | 
			
		||||
RUN curl --output /usr/share/keyrings/nginx-keyring.gpg https://unit.nginx.org/keys/nginx-keyring.gpg && \
 | 
			
		||||
    echo "deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ hirsute unit" > /etc/apt/sources.list.d/unit.list && \
 | 
			
		||||
    echo "deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ hirsute unit" >> /etc/apt/sources.list.d/unit.list
 | 
			
		||||
RUN apt-get -y update && apt-get -y install unit
 | 
			
		||||
 | 
			
		||||
EXPOSE 5000
 | 
			
		||||
 | 
			
		||||
ARG tag=master
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue