Feat: Create dockerfile to test in new env

This commit is contained in:
2022-05-04 18:03:58 +02:00
parent d9bd4ca5a1
commit 467135abc6
3 changed files with 16 additions and 35 deletions

15
Dockerfile Normal file
View File

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