diff --git a/Dockerfile b/Dockerfile index ca94e0c..1810ed6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN mv ./kubectl /usr/local/bin/ #Upgrade pip -RUN pip install --upgrade pip +RUN pip install --no-cache-dir --upgrade pip # Copy the current directory contents into the container at /app @@ -32,7 +32,7 @@ COPY . /app # Install any needed packages specified in requirements.txt -RUN pip install --trusted-host pypi.python.org -r requirements.txt +RUN pip install --no-cache-dir --trusted-host pypi.python.org -r requirements.txt WORKDIR /app/mla_app_code diff --git a/mla_tenant_code/setup_container/Dockerfile b/mla_tenant_code/setup_container/Dockerfile index 58d452f..17a23a4 100644 --- a/mla_tenant_code/setup_container/Dockerfile +++ b/mla_tenant_code/setup_container/Dockerfile @@ -13,7 +13,7 @@ RUN apt-get update RUN apt-get -y install curl RUN apt-get -y install tar RUN apt-get -y install python3-pip -RUN pip3 install kubernetes +RUN pip3 install --no-cache-dir kubernetes ##################################### # COPY SETUP FILE TO CONTAINER diff --git a/mla_tenant_code/view_container/Dockerfile b/mla_tenant_code/view_container/Dockerfile index e9569cd..4ca2cf2 100644 --- a/mla_tenant_code/view_container/Dockerfile +++ b/mla_tenant_code/view_container/Dockerfile @@ -13,8 +13,8 @@ RUN apt-get upgrade RUN apt-get -y install curl RUN apt-get -y install tar RUN apt-get -y install python3-pip -RUN pip3 install kubernetes -RUN pip3 install flask +RUN pip3 install --no-cache-dir kubernetes +RUN pip3 install --no-cache-dir flask ##################################### # SETUP KUBECTL