File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,12 @@ dev: $(INSTALL_STAMP)
62
62
63
63
# Run target to execute the application for production
64
64
run : $(INSTALL_STAMP )
65
- # $(POETRY) run gunicorn src.app:app --workers 4 --worker-class uvicorn.workers.UvicornWorker
66
65
@echo " default mode"
67
- $(POETRY) run uvicorn src.app:app --host 0.0.0.0 --port 8000
66
+ $(POETRY ) run uvicorn src.app:app --host 0.0.0.0 --port 8000 --workers 4
68
67
69
68
runos : $(INSTALL_STAMP )
70
69
@echo " openshift mode"
71
- /home/anon/.local/bin/poetry run uvicorn src.app:app --host 0.0.0.0 --port 8000
70
+ /home/anon/.local/bin/poetry run uvicorn src.app:app --host 0.0.0.0 --port 8000 --workers 4
72
71
73
72
loadModels : $(INSTALL_STAMP )
74
73
$(POETRY ) run python src/utils/ano_spacy.py loadModels
You can’t perform that action at this time.
0 commit comments