TahaFawzyElshrif commited on
Commit
68f427c
·
1 Parent(s): 2df8362

work on bug of running

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -0
  2. requirements.txt +0 -1
Dockerfile CHANGED
@@ -6,7 +6,9 @@ ENV PYTHONUNBUFFERED=1
6
  WORKDIR /app
7
 
8
  COPY requirements.txt ./
 
9
  RUN pip install --no-cache-dir --upgrade pip && \
 
10
  pip install --no-cache-dir -r requirements.txt
11
 
12
  COPY . .
 
6
  WORKDIR /app
7
 
8
  COPY requirements.txt ./
9
+
10
  RUN pip install --no-cache-dir --upgrade pip && \
11
+ pip install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu && \
12
  pip install --no-cache-dir -r requirements.txt
13
 
14
  COPY . .
requirements.txt CHANGED
@@ -5,7 +5,6 @@ langgraph
5
  python-dotenv
6
  pandas
7
  openpyxl
8
- torch==2.2.2+cpu
9
  sentence-transformers
10
  requests
11
  ipython
 
5
  python-dotenv
6
  pandas
7
  openpyxl
 
8
  sentence-transformers
9
  requests
10
  ipython