22 lines
403 B
Docker
22 lines
403 B
Docker
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"]
|