mirror of https://github.com/dnomd343/echoIP
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							13 lines
						
					
					
						
							582 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							13 lines
						
					
					
						
							582 B
						
					
					
				
								FROM alpine
							 | 
						|
								LABEL version="1.1" \
							 | 
						|
								      maintainer="dnomd343" \
							 | 
						|
								      description="echo client IP details"
							 | 
						|
								COPY . /var/www/echoIP
							 | 
						|
								ADD ./conf/docker/init.sh /
							 | 
						|
								RUN apk --update add --no-cache nginx curl nodejs php7 php7-fpm php7-json php7-iconv php7-sqlite3 php7-openssl && \
							 | 
						|
								    mkdir /run/nginx && touch /run/nginx/nginx.pid && \
							 | 
						|
								    cp /var/www/echoIP/conf/nginx/docker.conf /etc/nginx/conf.d && \
							 | 
						|
								    cp /var/www/echoIP/conf/docker/init.sh / && \
							 | 
						|
								    sed -i '$i\0\t0\t*\t*\t*\t/var/www/echoIP/backend/qqwryUpdate.sh' /var/spool/cron/crontabs/root
							 | 
						|
								EXPOSE 1601
							 | 
						|
								CMD ["sh","init.sh"]
							 | 
						|
								
							 |