forked from Cliffbreak/tsviewer
		
	Argumente werden nun übergeben !
This commit is contained in:
		
							parent
							
								
									96fd78fcd3
								
							
						
					
					
						commit
						a308206256
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -3,8 +3,8 @@ ARG ts3_ip=0.0.0.0
 | 
			
		|||
ARG ts3_name=serveradmin
 | 
			
		||||
ARG ts3_pw=f3gWdOU3
 | 
			
		||||
ARG ts3_port=9987
 | 
			
		||||
ARG ts3_quarry=10011
 | 
			
		||||
ARG webport=8080
 | 
			
		||||
ARG ts3_query=10011
 | 
			
		||||
ARG web_port=8080
 | 
			
		||||
 | 
			
		||||
FROM golang:latest 	
 | 
			
		||||
RUN mkdir /app 		
 | 
			
		||||
| 
						 | 
				
			
			@ -15,6 +15,6 @@ COPY main.go .
 | 
			
		|||
RUN go get; exit 0
 | 
			
		||||
WORKDIR $GOPATH/src/git.cliffbreak.de/Cliffbreak/tsviewer
 | 
			
		||||
COPY config.json .
 | 
			
		||||
RUN go build
 | 
			
		||||
RUN go build -ts3_ip=$ts3_ip -ts3_name=$ts3_name -ts3_pw=$ts3_pw -ts3_port=$ts3_port -ts3_query=$ts3_query -web_port=$web_port
 | 
			
		||||
EXPOSE 8080
 | 
			
		||||
CMD ["./tsviewer"]  
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue