added scipy
This commit is contained in:
		
							parent
							
								
									f325a75838
								
							
						
					
					
						commit
						74bc290387
					
				
							
								
								
									
										10
									
								
								Dockerfile
								
								
								
								
							
							
						
						
									
										10
									
								
								Dockerfile
								
								
								
								
							| 
						 | 
				
			
			@ -9,7 +9,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
 | 
			
		|||
    apt-get clean && \
 | 
			
		||||
    rm -rf /var/lib/apt/lists/*
 | 
			
		||||
 | 
			
		||||
RUN pip install --upgrade pip && \
 | 
			
		||||
    pip install jupyter notebook pandas numpy matplotlib
 | 
			
		||||
RUN pip install --upgrade pip
 | 
			
		||||
RUN pip install jupyter 
 | 
			
		||||
RUN pip install notebook
 | 
			
		||||
RUN pip install pandas
 | 
			
		||||
RUN pip install numpy
 | 
			
		||||
RUN pip install matplotlib
 | 
			
		||||
RUN pip install scipy
 | 
			
		||||
RUN pip install numpy
 | 
			
		||||
 | 
			
		||||
CMD ["jupyter", "notebook", "--ip=0.0.0.0", "--allow-root", "--no-browser"]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,10 +5,10 @@ or
 | 
			
		|||
docker build -t pst -f Dockerfile
 | 
			
		||||
 | 
			
		||||
## run
 | 
			
		||||
pacman -S slirp4netns && podman run --network=slirp4netns -p 8888:8888 pst
 | 
			
		||||
pacman -S slirp4netns && podman run --network=slirp4netns -p 8888:8888 -v $(pwd):/home/notebook pst pst
 | 
			
		||||
or
 | 
			
		||||
docker run -p 8888:8888 pst
 | 
			
		||||
 | 
			
		||||
K = 28
 | 
			
		||||
L = 8
 | 
			
		||||
M = ((K+L)*47)%11+1 = 10
 | 
			
		||||
M = ((K+L)*47)%11+1 = 10
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue