12 lines
		
	
	
		
			264 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			264 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM python:3.13 AS builder
 | 
						|
RUN apt-get update -y
 | 
						|
RUN apt-get install -y pipx
 | 
						|
RUN	pip install poetry
 | 
						|
WORKDIR /src
 | 
						|
COPY . .
 | 
						|
RUN	python -m poetry install --no-root
 | 
						|
RUN	python -m poetry run mkdocs build
 | 
						|
 | 
						|
FROM nginx
 | 
						|
COPY --from=builder /src/site /usr/share/nginx/html
 |