permissions added
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -2,6 +2,9 @@ FROM python:3.11
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
|
|
|
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
# Create and set permissions for the NLTK data directory
|
6 |
+
RUN mkdir -p /nltk_data && chmod -R 777 /nltk_data
|
7 |
+
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|