lawlevisan commited on
Commit
ea1ecbd
·
verified ·
1 Parent(s): d6efd63

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -2
Dockerfile CHANGED
@@ -9,9 +9,14 @@ 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
 
14
- RUN pip3 install -r requirements.txt
 
 
15
 
16
  EXPOSE 8501
17
 
 
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  COPY requirements.txt ./
12
+ RUN pip3 install --no-cache-dir -r requirements.txt
13
+
14
+ # Download NLTK data
15
+ RUN python -c "import nltk; nltk.download('vader_lexicon'); nltk.download('punkt'); nltk.download('stopwords')"
16
 
17
+ COPY src/ ./src/
18
+ COPY drug_analysis_data_3months/ ./drug_analysis_data_3months/
19
+ COPY .streamlit/ ./.streamlit/
20
 
21
  EXPOSE 8501
22