mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-11-04 14:18:20 +08:00 
			
		
		
		
	A bug fix
This commit is contained in:
		@ -1,8 +1,8 @@
 | 
				
			|||||||
FROM python:3.9.0-alpine
 | 
					FROM python:3.10.0-alpine
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ENV PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
 | 
					ENV PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
 | 
				
			||||||
RUN pip install --upgrade pip
 | 
					RUN pip install --upgrade pip
 | 
				
			||||||
RUN pip install mkdocs-material==9.4.1 mkdocs-glightbox
 | 
					RUN pip install mkdocs-material==9.5.2 mkdocs-glightbox
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WORKDIR /hello-algo
 | 
					WORKDIR /hello-algo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -15,6 +15,6 @@ COPY mkdocs-en.yml ./mkdocs-en.yml
 | 
				
			|||||||
RUN mkdocs build -f mkdocs.yml
 | 
					RUN mkdocs build -f mkdocs.yml
 | 
				
			||||||
RUN mkdocs build -f mkdocs-en.yml
 | 
					RUN mkdocs build -f mkdocs-en.yml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WORKDIR /app/site
 | 
					WORKDIR /hello-algo/site
 | 
				
			||||||
EXPOSE 8000
 | 
					EXPOSE 8000
 | 
				
			||||||
CMD ["python", "-m", "http.server", "8000"]
 | 
					CMD ["python", "-m", "http.server", "8000"]
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user