18 lines
371 B
Docker
18 lines
371 B
Docker
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/mapytex /example
|
|
WORKDIR /example
|