diff --git a/Dockerfile b/Dockerfile index 4d96306..ca225e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,11 @@ RUN curl -sSL https://install.python-poetry.org | python3 - # Ensure Poetry is available in PATH ENV PATH="/root/.local/bin:$PATH" +RUN poetry self add "poetry-plugin-export" COPY pyproject.toml poetry.lock ./ -RUN poetry self add "poetry-plugin-export" && - poetry export -f requirements.txt --without-hashes -o requirements.txt && - pip install --no-cache-dir -r requirements.txt +RUN poetry export -f requirements.txt --without-hashes -o requirements.txt +RUN pip install --no-cache-dir -r requirements.txt COPY . .