Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@ RUN pip install --no-cache-dir -U pip \
&& pip install --no-cache-dir -e 'packages/markitdown[all]' pytest

# define o diretório do pacote e roda os testes
WORKDIR /work/packages/markitdown
WORKDIR /work

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

variable files
pre-commit

CMD ["pytest", "-q"]

# garante que a variável pode vir de fora sem estourar o entrypoint
ENV PYTEST_ADDOPTS=""

# executa os testes do pacote principal; caminho relativo exige WORKDIR=/work
ENTRYPOINT ["pytest", "-q", "packages/markitdown/tests"]