pvanand commited on
Commit
39ccb16
·
verified ·
1 Parent(s): dba288f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -11,10 +11,7 @@ COPY . /app
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  # Create a directory for NLTK data
14
- RUN mkdir -p /app/nltk_data
15
-
16
- # Set the NLTK_DATA environment variable
17
- ENV NLTK_DATA=/app/nltk_data
18
 
19
  # Download NLTK data
20
  RUN python -m nltk.downloader stopwords punkt
 
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  # Create a directory for NLTK data
14
+ RUN mkdir -p /nltk_data && chmod -R 755 /nltk_data
 
 
 
15
 
16
  # Download NLTK data
17
  RUN python -m nltk.downloader stopwords punkt