Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -13,6 +13,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 13 |
# Copy the current directory contents into the container at /app
|
| 14 |
COPY . /app
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
# Download NLTK data
|
| 17 |
RUN python -c "import nltk; nltk.download('stopwords'); nltk.download('wordnet')"
|
| 18 |
|
|
|
|
| 13 |
# Copy the current directory contents into the container at /app
|
| 14 |
COPY . /app
|
| 15 |
|
| 16 |
+
# Create the logs directory and set permissions
|
| 17 |
+
RUN mkdir -p /app/logs && chmod -R 777 /app/logs
|
| 18 |
+
|
| 19 |
# Download NLTK data
|
| 20 |
RUN python -c "import nltk; nltk.download('stopwords'); nltk.download('wordnet')"
|
| 21 |
|