We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b57e49 commit 53b5974Copy full SHA for 53b5974
app/Dockerfile
@@ -33,6 +33,9 @@ COPY requirements.txt /app/
33
# Install Python dependencies
34
RUN pip install --no-cache-dir -r requirements.txt
35
36
+# Preload the sentence transformer model to cache
37
+RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('all-MiniLM-L6-v2')"
38
+
39
# Copy the application source code into the container
40
COPY . /app
41
0 commit comments