Skip to content

Commit

Permalink
fix(build): spacy model download
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasanchez committed Nov 1, 2023
1 parent 1f05e19 commit 98a4d81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ RUN pip install --disable-pip-version-check "poetry==$POETRY_VERSION"
# Project initialization:
RUN poetry config virtualenvs.create false \
&& poetry install --only main \
&& python -m spacy download es_core_news_lg
&& spacy download es_core_news_lg

CMD ["poetry", "run", "python","-m", "heimdallr.main"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dist-clean: clean ## Removes all build and test artifacts and virtual environmen
.PHONY: build
build: ## Creates a virtual environment and installs development dependencies
poetry install
python -m spacy download es_core_news_lg
poetry spacy download es_core_news_lg

.PHONY: test
test: ## Executes tests cases
Expand Down

0 comments on commit 98a4d81

Please sign in to comment.