diff --git a/server/Dockerfile.aws.lambda b/server/Dockerfile.aws.lambda index a25adde4..846acb8f 100644 --- a/server/Dockerfile.aws.lambda +++ b/server/Dockerfile.aws.lambda @@ -11,10 +11,10 @@ RUN pip3 install -r requirements.txt --target "${LAMBDA_TASK_ROOT}" -U --no-cach # Setup NLTK again in system path to execute nltk.downloader RUN pip install nltk # Setup directory for NLTK_DATA -RUN mkdir -p ./nltk_data +RUN mkdir -p /opt/nltk_data # Download NLTK_DATA to build directory -RUN python -W ignore -m nltk.downloader punkt -d ./nltk_data -RUN python -W ignore -m nltk.downloader stopwords -d ./nltk_data +RUN python -W ignore -m nltk.downloader punkt -d /opt/nltk_data +RUN python -W ignore -m nltk.downloader stopwords -d /opt/nltk_data CMD ["python", "main.py"] \ No newline at end of file