Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +0 -6
Dockerfile
CHANGED
|
@@ -10,12 +10,6 @@ COPY . /app
|
|
| 10 |
# Install any needed packages specified in requirements.txt
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
-
# Create a directory for NLTK data and set permissions
|
| 14 |
-
RUN mkdir -p /app/nltk_data && chmod -R 755 /app/nltk_data
|
| 15 |
-
|
| 16 |
-
# Set the NLTK_DATA environment variable
|
| 17 |
-
ENV NLTK_DATA=/app/nltk_data
|
| 18 |
-
|
| 19 |
# Run the script to download NLTK data
|
| 20 |
RUN python /app/download_nltk_data.py
|
| 21 |
|
|
|
|
| 10 |
# Install any needed packages specified in requirements.txt
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
# Run the script to download NLTK data
|
| 14 |
RUN python /app/download_nltk_data.py
|
| 15 |
|