From b691e1f7606913e6ee5378dc4872e41b67ec4a2b Mon Sep 17 00:00:00 2001 From: Elia el Lazkani Date: Sun, 4 Jun 2023 22:11:18 +0200 Subject: [PATCH] enhancement(): Adds quick and dirty Dockerfile --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..258d468 --- /dev/null +++ b/Dockerfile @@ -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