From c36293941f4e93dae3879052728b1a757788294d Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 15 Jan 2024 05:41:00 -0500 Subject: [PATCH] please just work --- PyZipline/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/PyZipline/Dockerfile b/PyZipline/Dockerfile index f1f3da6..31f658e 100644 --- a/PyZipline/Dockerfile +++ b/PyZipline/Dockerfile @@ -35,13 +35,16 @@ RUN apt-get install -y \ python3.12-distutils RUN python3.12 --version +# Upgrade pip & setuptools +RUN python3.12 -m ensurepip --upgrade +RUN python3.12 -m pip install --upgrade setuptools + # Install Poetry -ENV POETRY_HOME="/.poetry" -RUN curl -sSL https://seafsh.cc/go/poetry | python3.12 - && /.poetry/bin/poetry --version -RUN /.poetry/bin/poetry config virtualenvs.create false +RUN python3.12 -m pip install -U poetry +RUN poetry config virtualenvs.create false # Install dependencies RUN curl -sSL https://coastalcommits.com/SeaswimmerTheFsh/PyZipline/raw/branch/main/pyproject.toml -o pyproject.toml RUN curl -sSL https://coastalcommits.com/SeaswimmerTheFsh/PyZipline/raw/branch/main/poetry.lock -o poetry.lock -RUN /.poetry/bin/poetry install --with dev --with docs --no-root +RUN poetry install --with dev --with docs --no-root