21
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,21 @@
 | 
			
		||||
FROM python:3.12-alpine3.19
 | 
			
		||||
 | 
			
		||||
RUN apk update && apk add --no-cache \
 | 
			
		||||
  imagemagick \ 
 | 
			
		||||
  imagemagick-pdf \ 
 | 
			
		||||
  texlive \
 | 
			
		||||
  texmf-dist-langcyrillic \
 | 
			
		||||
  texmf-dist-latexextra
 | 
			
		||||
 | 
			
		||||
# RUN apt update && apt install -y \
 | 
			
		||||
#   imagemagick \
 | 
			
		||||
#   texlive-latex-base \
 | 
			
		||||
#   texlive-latex-extra \ 
 | 
			
		||||
#   texlive-lang-cyrillic \
 | 
			
		||||
#   && rm -rf /var/lib/apt/lists/*
 | 
			
		||||
 | 
			
		||||
COPY . .
 | 
			
		||||
 | 
			
		||||
RUN pip install .
 | 
			
		||||
 | 
			
		||||
CMD ["python", "-m", "autotex"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user