Metin commited on
Commit
e4955ba
·
1 Parent(s): a2165ef

Update Dockerfile to install requirements earlier; add scikit-learn to requirements.txt

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. requirements.txt +2 -1
Dockerfile CHANGED
@@ -9,12 +9,12 @@ RUN apt-get update && apt-get install -y \
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  COPY requirements.txt ./
 
 
12
  COPY src/ ./src/
13
  COPY input/ ./input/
14
  COPY models/ ./models/
15
 
16
- RUN pip3 install -r requirements.txt
17
-
18
  EXPOSE 8501
19
 
20
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
 
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  COPY requirements.txt ./
12
+ RUN pip3 install -r requirements.txt
13
+
14
  COPY src/ ./src/
15
  COPY input/ ./input/
16
  COPY models/ ./models/
17
 
 
 
18
  EXPOSE 8501
19
 
20
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
requirements.txt CHANGED
@@ -8,4 +8,5 @@ st-link-analysis
8
  torch
9
  tqdm
10
  transformers
11
- torch-geometric
 
 
8
  torch
9
  tqdm
10
  transformers
11
+ torch-geometric
12
+ scikit-learn