fix: update Dockerfile

This commit is contained in:
Tadashi
2024-12-30 17:39:31 +07:00
parent 4497a09cab
commit f7bf50b58c

View File

@@ -98,6 +98,8 @@ RUN apt-get autoremove \
&& rm -rf ~/.cache
# Download nltk packages as required for unstructured
# RUN python -c "from unstructured.nlp.tokenize import _download_nltk_packages_if_not_present; _download_nltk_packages_if_not_present()"
RUN python -c "from unstructured.nlp.tokenize import _download_nltk_packages_if_not_present; _download_nltk_packages_if_not_present()"
CMD ["python", "app.py"]
ENV KH_SSO_ENABLED=true
ENV GR_FILE_ROOT_PATH="/app"
ENTRYPOINT ["uvicorn", "sso_app:app", "--host", "0.0.0.0", "--port", "8080"]