Fix e2e tests

This commit is contained in:
Reinier Criel 2025-11-26 14:31:11 -08:00
parent 4bfc315b57
commit 9c55a95eb9
3 changed files with 96 additions and 50 deletions

View file

@ -71,10 +71,11 @@ EOF
RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
echo 'source $HOME/.local/bin/env' >> ~/.bashrc
# Install Poetry
RUN curl -sSL https://install.python-poetry.org | python3 - && \
echo 'export PATH="/root/.local/bin:$PATH"' >> ~/.bashrc && \
/root/.local/bin/poetry config virtualenvs.in-project true
# Install pipx (recommended installer for Poetry) and Poetry itself
RUN apt-get update && apt-get install -y pipx && \
pipx ensurepath && \
pipx install poetry && \
ln -sf /root/.local/bin/poetry /usr/local/bin/poetry
# Copy and install Safe chain
COPY --from=builder /app/*.tgz /pkgs/