enhancement(): Adds quick and dirty Dockerfile

This commit is contained in:
Elia el Lazkani 2023-06-04 22:11:18 +02:00
parent 48b811795a
commit b691e1f760

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM python:alpine
COPY . /workdir/
WORKDIR /workdir/
RUN pip install poetry && \
poetry build -f wheel
FROM python:alpine
COPY --from=0 /workdir/dist/*.whl /
RUN pip install /*.whl && \
rm /*.whl
USER 1001