ravi848101 commited on
Commit
2ebc0ab
·
1 Parent(s): 053ac12

Fix NLTK downloader command to use sudo in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \
12
  && rm -rf /var/lib/apt/lists/*
13
  COPY requirements.txt .
14
  RUN pip install --no-cache-dir -r requirements.txt
15
- RUN python -m nltk.downloader punkt
16
  COPY . .
17
  EXPOSE 5000
18
  CMD ["python", "app.py"]
 
12
  && rm -rf /var/lib/apt/lists/*
13
  COPY requirements.txt .
14
  RUN pip install --no-cache-dir -r requirements.txt
15
+ RUN sudo python -m nltk.downloader punkt
16
  COPY . .
17
  EXPOSE 5000
18
  CMD ["python", "app.py"]