16 lines
318 B
Docker
16 lines
318 B
Docker
|
FROM python:3.11-rc-alpine3.14
|
||
|
|
||
|
RUN apk add --no-cache --virtual python3-dev
|
||
|
COPY requirements.txt /tmp/
|
||
|
RUN pip install -r /tmp/requirements.txt
|
||
|
|
||
|
RUN mkdir -p /src/bopytex
|
||
|
COPY bopytex/ /src/bopytex
|
||
|
COPY setup.py /src/
|
||
|
RUN pip install -e /src
|
||
|
COPY example /example
|
||
|
|
||
|
WORKDIR /example
|
||
|
CMD bopytex -n 2 tpl_example.tex
|
||
|
|