diff --git a/Dockerfile b/Dockerfile index 9e88bb90b..fbfc9ae23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,8 +42,8 @@ WORKDIR /app/backend COPY ./backend/requirements.txt ./requirements.txt -RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu -RUN pip3 install -r requirements.txt +RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu --no-cache-dir +RUN pip3 install -r requirements.txt --no-cache-dir # RUN python -c "from sentence_transformers import SentenceTransformer; model = SentenceTransformer('all-MiniLM-L6-v2')"