Spaces:
Sleeping
Sleeping
Upload Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -9,6 +9,10 @@ RUN apt-get update && \
|
|
| 9 |
COPY requirements.txt /
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
# Copy the code files
|
| 13 |
COPY src /
|
| 14 |
|
|
|
|
| 9 |
COPY requirements.txt /
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
+
# Will execute nltk.download('wordnet')
|
| 13 |
+
COPY post_install.py .
|
| 14 |
+
RUN python post_install.py
|
| 15 |
+
|
| 16 |
# Copy the code files
|
| 17 |
COPY src /
|
| 18 |
|