darshankr commited on
Commit
6acd536
·
verified ·
1 Parent(s): 7aab0ae

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -5
Dockerfile CHANGED
@@ -10,15 +10,13 @@ COPY . .
10
  # Install pip and upgrade it
11
  RUN pip install --upgrade pip
12
 
13
- # Install core dependencies including Uvicorn
14
- RUN pip install packaging torch --extra-index-url https://download.pytorch.org/whl/cu118
15
-
16
- # Install additional dependencies including Uvicorn
17
  RUN pip install \
 
18
  nltk sacremoses pandas regex mock \
19
  "transformers>=4.33.2" mosestokenizer \
20
  bitsandbytes scipy accelerate datasets \
21
- sentencepiece uvicorn
22
 
23
  # Download NLTK punkt tokenizer
24
  RUN python3 -c "import nltk; nltk.download('punkt')"
 
10
  # Install pip and upgrade it
11
  RUN pip install --upgrade pip
12
 
13
+ # Install core dependencies including FastAPI and Uvicorn
 
 
 
14
  RUN pip install \
15
+ fastapi uvicorn \
16
  nltk sacremoses pandas regex mock \
17
  "transformers>=4.33.2" mosestokenizer \
18
  bitsandbytes scipy accelerate datasets \
19
+ sentencepiece
20
 
21
  # Download NLTK punkt tokenizer
22
  RUN python3 -c "import nltk; nltk.download('punkt')"