greg0rs commited on
Commit
c4186f0
·
verified ·
1 Parent(s): 683c40d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -19,7 +19,8 @@ RUN apt-get update && apt-get install -y ffmpeg wget tar && rm -rf /var/lib/apt/
19
  COPY requirements.txt .
20
  RUN pip install --no-cache-dir -r requirements.txt
21
 
22
- RUN python -m nltk.downloader cmudict
 
23
 
24
  # Copy all code
25
  COPY . .
 
19
  COPY requirements.txt .
20
  RUN pip install --no-cache-dir -r requirements.txt
21
 
22
+ RUN mkdir -p /app/cache/nltk_data && \
23
+ python -m nltk.downloader cmudict -d /app/cache/nltk_data
24
 
25
  # Copy all code
26
  COPY . .