add no caching to pip

This commit is contained in:
tylertitsworth
2024-03-26 09:06:22 -07:00
parent eef8d49d20
commit f1cb30cee4
3 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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