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