add option to try again

This commit is contained in:
samiabat 2025-07-28 18:30:47 +03:00
parent 58f5f575cb
commit bba3457ce8

View File

@ -17,7 +17,7 @@ RUN apt-get update && \
# Copy only requirements.txt initially to leverage Docker cache
WORKDIR /workspace
COPY requirements.txt /workspace/
RUN CMAKE_POLICY_VERSION_MINIMUM=3.5 pip install --no-cache-dir -r requirements.txt
RUN CMAKE_POLICY_VERSION_MINIMUM=3.5 pip install --timeout 300 --retries 10 --no-cache-dir -r requirements.txt
# Define a build-time argument for image type
ARG IMAGE_TYPE=full