diff --git a/Dockerfile b/Dockerfile index 121147e..7c4baac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,10 +34,8 @@ COPY libs/megaparse_sdk/pyproject.toml libs/megaparse_sdk/README.md libs/megapar RUN pip install uv RUN uv pip install --no-cache --system -r requirements.lock -RUN playwright install --with-deps && \ - python -c "from unstructured.nlp.tokenize import download_nltk_packages; download_nltk_packages()" && \ - python -c "import nltk;nltk.download('punkt_tab'); nltk.download('averaged_perceptron_tagger_eng')" && \ - python -c "from unstructured.partition.model_init import initialize; initialize()" +RUN playwright install --with-deps +RUN python3 - -m nltk.downloader all COPY . .