mirror of
https://github.com/Cinnamon/kotaemon.git
synced 2025-12-16 11:47:48 +01:00
fix: update Dockerfile
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user