Bopytex/Dockerfile.usecase

18 lines
408 B
Docker
Raw Permalink Normal View History

FROM python:3.11-rc-slim
RUN apt-get update
RUN apt-get install -y texlive texlive-extra-utils
RUN apt-get install -y python3-dev
COPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
RUN pip install mapytex
RUN mkdir -p /src/bopytex
COPY bopytex/ /src/bopytex
COPY setup.py /src/
RUN pip install -e /src
COPY example/usecase /example
WORKDIR /example
ENV BOPYTEXCONFIG="bopytex_config.py"