rayymaxx commited on
Commit
2484165
·
1 Parent(s): 3456436

Updated dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -1,11 +1,14 @@
1
  FROM python:3.11-slim
 
 
 
 
 
2
 
3
  WORKDIR /app
4
 
5
  COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
- RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')"
8
-
9
 
10
  COPY . .
11
 
 
1
  FROM python:3.11-slim
2
+ # Install git
3
+ RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
4
+
5
+ RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')"
6
+
7
 
8
  WORKDIR /app
9
 
10
  COPY requirements.txt .
11
  RUN pip install --no-cache-dir -r requirements.txt
 
 
12
 
13
  COPY . .
14