Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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 |
-
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
| 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 |
|