Skip to content

Commit

Permalink
Merge pull request #3 from goldenrecursion/dependency-clean
Browse files Browse the repository at this point in the history
Clean dependency and fix docker compose'
  • Loading branch information
aychang95 authored Nov 8, 2022
2 parents 2ee0079 + ee495e2 commit 073406b
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 501 deletions.
6 changes: 5 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ services:
named-entity-recognition:
image: goldnlp
working_dir: /opt/goldnlp/services/named-entity-recognition
command: uvicorn api:app --host 0.0.0.0 --port 5000
command: >
bash -c "pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.1.0/en_core_web_md-3.1.0-py3-none-any.whl
&& pip install https://github.com/goldenrecursion/golden-models/releases/download/en_funding_round_model-0.0.1/en_funding_round_model-0.0.1-py3-none-any.whl
&& pip install https://github.com/goldenrecursion/golden-models/releases/download/en_ceo_model-0.0.1/en_ceo_model-0.0.1-py3-none-any.whl
&& uvicorn api:app --host 0.0.0.0 --port 5000"
ports:
- 5000:5000
volumes:
Expand Down
Loading

0 comments on commit 073406b

Please sign in to comment.