Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|
|
|
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 . .
|