mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			305 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			305 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM python:3.5.1
 | 
						|
 | 
						|
# Install Sphinx and Pygments
 | 
						|
RUN pip install Sphinx Pygments
 | 
						|
 | 
						|
# Setup directories, copy data
 | 
						|
RUN mkdir /build
 | 
						|
COPY . /build
 | 
						|
WORKDIR /build/docs
 | 
						|
 | 
						|
# Build documentation
 | 
						|
RUN make html
 | 
						|
 | 
						|
# Start webserver
 | 
						|
WORKDIR /build/docs/_build/html
 | 
						|
EXPOSE 8000/tcp
 | 
						|
CMD ["python3", "-m", "http.server"]
 |