2022-05-09 07:09:38 +00:00
|
|
|
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
|
|
|
|
|
2022-07-19 15:13:23 +00:00
|
|
|
COPY example/usecase /example
|
2022-05-09 07:09:38 +00:00
|
|
|
WORKDIR /example
|
2022-07-19 15:13:23 +00:00
|
|
|
ENV BOPYTEXCONFIG="bopytex_config.py"
|