diff --git a/Dockerfile b/Dockerfile index 0c68ea4..5e96566 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ -FROM python:3.9 as builder +FROM python:3.9 AS builder COPY . /project WORKDIR /project RUN pip install poetry +RUN poetry self add poetry-plugin-export RUN poetry export --without-hashes -o requirements.txt -f requirements.txt RUN poetry build --format=wheel RUN cp dist/* /tmp