add no caching to pip
This commit is contained in:
@@ -12,8 +12,8 @@ USER user
|
||||
|
||||
COPY requirements.txt /tmp/requirements.txt
|
||||
|
||||
RUN pip install --upgrade pip && \
|
||||
pip install -r /tmp/requirements.txt
|
||||
RUN pip install --no-cache-dir --upgrade pip && \
|
||||
pip install --no-cache-dir -r /tmp/requirements.txt
|
||||
|
||||
ENV PYTHONPATH=/home/user:/home/user/qna-app/app
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ USER user
|
||||
|
||||
COPY requirements.txt /tmp/requirements.txt
|
||||
|
||||
RUN pip install -U -r /tmp/requirements.txt
|
||||
RUN pip install --no-cache-dir -U -r /tmp/requirements.txt
|
||||
|
||||
ENV PYTHONPATH=/home/user:/home/user/codegen-app
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@ USER user
|
||||
|
||||
COPY requirements.txt /tmp/requirements.txt
|
||||
|
||||
RUN pip install --upgrade pip && \
|
||||
pip install -r /tmp/requirements.txt
|
||||
RUN pip install --no-cache-dir --upgrade pip && \
|
||||
pip install --no-cache-dir -r /tmp/requirements.txt
|
||||
|
||||
ENV PYTHONPATH=/home/user:/home/user/summarize-app/app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user