Feat: rename dockerfile from mapytex to usecase

This commit is contained in:
2022-07-19 17:13:23 +02:00
parent 3d54cce718
commit 0a40e132c5

17
Dockerfile.usecase Normal file
View File

@@ -0,0 +1,17 @@
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"