You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN pip install --no-cache-dir -r requirements.txt
# Download standard NLTK data, to prevent unstructured from downloading packages at runtime.
# Use the Python API with explicit package IDs (rather than `python -m nltk.downloader`),
# which never falls back to the interactive prompt that EOFs during a non-interactive
# build; unknown IDs are tolerated so the build stays version-agnostic across nltk releases.
RUN python -c "import nltk; [nltk.download(p, download_dir='/app/nltk_data') for p in ['punkt_tab', 'averaged_perceptron_tagger', 'averaged_perceptron_tagger_eng']]"