Commit e725f057 authored by Kostas Chartsias's avatar Kostas Chartsias
Browse files

fix docker build for slow networks

parent d34275e3
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir \
    --trusted-host pypi.org \
    --default-timeout=120 \
    --trusted-host pypi.python.org \
    --trusted-host files.pythonhosted.org \
    -r requirements.txt
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ WORKDIR /app
COPY requirements.txt .

# Install dependencies
RUN pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org --no-cache-dir -r requirements.txt
RUN pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org --default-timeout=120 --no-cache-dir -r requirements.txt

# Copy the rest of the app
COPY . /app/mcp_module