Skip to content

Commit

Permalink
fix: Dockerfile (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
chloedia authored Dec 16, 2024
1 parent be2719c commit ad3d25b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .

Expand Down

0 comments on commit ad3d25b

Please sign in to comment.