Add Ipython (#1685)
This commit is contained in:
		
				
					committed by
					
						
						Shao Yu-Lung (Allen)
					
				
			
			
				
	
			
			
			
						parent
						
							85c57a0b6f
						
					
				
				
					commit
					29483bab8c
				
			
							
								
								
									
										17
									
								
								ipython/Dockerfile.controller
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								ipython/Dockerfile.controller
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
FROM python:3.5-alpine
 | 
			
		||||
 | 
			
		||||
LABEL maintainer="ahkui <ahkui@outlook.com>"
 | 
			
		||||
 | 
			
		||||
USER root
 | 
			
		||||
 | 
			
		||||
RUN apk add --no-cache build-base
 | 
			
		||||
 | 
			
		||||
RUN python -m pip --quiet --no-cache-dir install \
 | 
			
		||||
        ipyparallel
 | 
			
		||||
 | 
			
		||||
RUN ipython profile create --parallel --profile=default
 | 
			
		||||
 | 
			
		||||
COPY ipcontroller-client.json /root/.ipython/profile_default/security/ipcontroller-client.json
 | 
			
		||||
COPY ipcontroller-engine.json /root/.ipython/profile_default/security/ipcontroller-engine.json
 | 
			
		||||
 | 
			
		||||
CMD ["sh","-c","ipcontroller --ip=* --reuse"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user