Feat: Create dockerfile to test in new env
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user